Skip to content

Commit

Permalink
Math is hard (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdehoog authored Nov 7, 2024
1 parent a0c0087 commit 413599d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion op-proposer/proposer/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ func (l *L2OutputSubmitter) nextOutput(ctx context.Context, latestOutput binding
}

count := 0
for count < len(l.pending) && l.pending[count].To.Number < latestSafe.Number {
for count < len(l.pending) && l.pending[count].To.Number <= latestSafe.Number {
count++
}
if count <= 0 {
Expand Down

0 comments on commit 413599d

Please sign in to comment.