Skip to content
This repository was archived by the owner on May 11, 2024. It is now read-only.

Commit 6137bcf

Browse files
committed
test: fix test error
1 parent a2f9fcc commit 6137bcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

prover/proof_producer/guardian_producer.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func NewGuardianProofProducer(sgxProofProducer *SGXProofProducer, returnLiveness
2727

2828
// RequestProof implements the ProofProducer interface.
2929
func (g *GuardianProofProducer) RequestProof(
30-
_ context.Context,
30+
ctx context.Context,
3131
opts *ProofRequestOptions,
3232
blockID *big.Int,
3333
meta *bindings.TaikoDataBlockMetadata,
@@ -55,7 +55,7 @@ func (g *GuardianProofProducer) RequestProof(
5555
// Each guardian prover should check the block hash with raiko at first,
5656
// before submitting the guardian proof, if raiko can return a proof without
5757
// any error, which means the block hash is valid.
58-
if _, err := g.SGXProofProducer.requestProof(opts); err != nil {
58+
if _, err := g.SGXProofProducer.RequestProof(ctx, opts, blockID, meta, header); err != nil {
5959
return nil, err
6060
}
6161

0 commit comments

Comments
 (0)