Skip to content

Commit

Permalink
fix(prover): fix an issue in prover event loop (taikoxyz#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha authored Jun 4, 2023
1 parent 20d4ae7 commit ec57ecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prover/prover.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ func (p *Prover) Close() {
// proveOp performs a proving operation, find current unproven blocks, then
// request generating proofs for them.
func (p *Prover) proveOp() error {
firstTry := false
firstTry := true
for firstTry || p.reorgDetectedFlag {
p.reorgDetectedFlag = false
firstTry = false
Expand Down

0 comments on commit ec57ecf

Please sign in to comment.