Skip to content

Commit

Permalink
fix edge case resume
Browse files Browse the repository at this point in the history
  • Loading branch information
advaita-saha committed Sep 17, 2024
1 parent 8b144d0 commit f14c095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nimbus/nimbus_import.nim
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ proc importBlocks*(conf: NimbusConf, com: CommonRef) =
continue

# Checks if the Nimbus block number is ahead the era block number
if blockNumber >= blk.header.number:
if blockNumber < blk.header.number:
notice "Avaiable Era Files are already imported",
stateBlockNumber = blockNumber, eraBlockNumber = blk.header.number
quit QuitSuccess
Expand Down

0 comments on commit f14c095

Please sign in to comment.