Skip to content

Commit

Permalink
Resolve merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
jangko committed Jul 31, 2024
1 parent 268c1b8 commit 44bb3be
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions nimbus/nimbus_import.nim
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,6 @@ proc importBlocks*(conf: NimbusConf, com: CommonRef) =
if blocks.len > 0:
process() # last chunk, if any

<<<<<<< HEAD
importRlpBlocks(conf, com)
=======
if blockNumber > lastEra1Block:
notice "Importing era archive",
start, dataDir = conf.dataDir.string, eraDir = conf.eraDir.string
Expand Down Expand Up @@ -327,10 +324,4 @@ proc importBlocks*(conf: NimbusConf, com: CommonRef) =
if blocks.len > 0:
process()

for blocksFile in conf.blocksFile:
if isFile(string blocksFile):
# success or not, we quit after importing blocks
if not importRlpBlock(string blocksFile, com):
quit(QuitFailure)
else:
quit(QuitSuccess)
importRlpBlocks(conf, com)

0 comments on commit 44bb3be

Please sign in to comment.