fix: block_range (#10418)

This commit is contained in:
greged93
2024-08-21 05:27:06 -07:00
committed by GitHub
parent ebb2d55584
commit ae8ce20c0b

View File

@@ -638,7 +638,7 @@ where
blocks.append(&mut database_blocks);
// Advance the range iterator by the number of blocks fetched from the database
range.nth(database_blocks.len() - 1);
range.nth(blocks.len() - 1);
// Fetch the remaining blocks from the in-memory state
for num in range {