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

Commit

Permalink
test: fix test error
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha committed May 6, 2024
1 parent a2f9fcc commit 6137bcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prover/proof_producer/guardian_producer.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func NewGuardianProofProducer(sgxProofProducer *SGXProofProducer, returnLiveness

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

Expand Down

0 comments on commit 6137bcf

Please sign in to comment.