Skip to content

Commit

Permalink
fix loop
Browse files Browse the repository at this point in the history
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
  • Loading branch information
pinges committed Oct 24, 2024
1 parent dc1f3bd commit 845b564
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ public List<Block> getBlocks() {
block -> {
remainingBlocks--;
result[nextIndex] = block;
headersToGet.removeFirst();
nextIndex = findNextIndex(nextIndex + 1);
});
}
Expand Down

0 comments on commit 845b564

Please sign in to comment.