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

Commit

Permalink
add log:
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhorsey committed Jul 14, 2023
1 parent 0e89d07 commit c536b43
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion prover/prover.go
Original file line number Diff line number Diff line change
Expand Up @@ -850,11 +850,16 @@ func (p *Prover) checkProofWindowExpired(ctx context.Context, l1Height, blockId
}

if time.Now().Unix() > int64(block.ProposedAt)+int64(block.ProofWindow) {

notify := func() {
select {
case p.proveNotify <- new(big.Int).SetUint64(l1Height):
default:
log.Info("unable to request proof, proveNotify channel busy",
"blockID",
blockId,
"l1Height",
l1Height,
)
}
}

Expand Down

0 comments on commit c536b43

Please sign in to comment.