Skip to content

Commit

Permalink
Revert last commit
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
  • Loading branch information
Gabriel-Trintinalia committed May 12, 2024
1 parent 9beb46f commit 5632cab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public BlockHashLookup getBlockHashLookup(
return (frame, blockNumber) -> {
long currentBlockNumber = frame.getBlockValues().getNumber();
if (currentBlockNumber <= blockNumber
|| blockNumber + historySaveWindow < currentBlockNumber
|| currentBlockNumber - blockNumber > historySaveWindow
|| blockNumber < 0) {
return Hash.ZERO;
}
Expand Down

0 comments on commit 5632cab

Please sign in to comment.