Skip to content

Commit

Permalink
bor event reader: stop snaps iteration earlier (erigontech#9425)
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov authored Feb 13, 2024
1 parent 7d504c1 commit 3b5cfa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion turbo/snapshotsync/freezeblocks/block_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -1165,7 +1165,7 @@ func (r *BlockReader) EventsByBlock(ctx context.Context, tx kv.Tx, hash common.H
continue
}
if sn.to <= blockHeight {
continue
break
}

idxBorTxnHash := sn.Index()
Expand Down

0 comments on commit 3b5cfa3

Please sign in to comment.