Skip to content

Commit

Permalink
Update packages/taiko-client/prover/proof_submitter/proof_submitter.go
Browse files Browse the repository at this point in the history
Co-authored-by: David <[email protected]>
  • Loading branch information
YoGhurt111 and davidtaikocha authored Nov 8, 2024
1 parent bcd1542 commit 7c2b509
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func (s *ProofSubmitter) RequestProof(ctx context.Context, meta metadata.TaikoBl
log.Error("Failed to request proof, context is canceled", "blockID", opts.BlockID, "error", ctx.Err())
return nil
}
// Check if there is full buffer
// Check if the proof buffer is full
if s.proofBuffer.MaxLength > 1 && s.proofBuffer.MaxLength == uint64(s.proofBuffer.Len()) {
log.Debug("Buffer is full now", "blockID", meta.GetBlockID())
return errBufferOverflow
Expand Down

0 comments on commit 7c2b509

Please sign in to comment.