mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-14 06:15:57 +00:00
cosmetic change
This commit is contained in:
parent
8308db964c
commit
721f6e9c14
@ -51,8 +51,7 @@ method persistBlocks*(c: Chain, headers: openarray[BlockHeader], bodies: openarr
|
|||||||
raise newException(Exception, "Validation error. Debugging metadata dumped.")
|
raise newException(Exception, "Validation error. Debugging metadata dumped.")
|
||||||
|
|
||||||
if validationResult != ValidationResult.OK:
|
if validationResult != ValidationResult.OK:
|
||||||
result = validationResult
|
return validationResult
|
||||||
return
|
|
||||||
|
|
||||||
discard c.db.persistHeaderToDb(headers[i])
|
discard c.db.persistHeaderToDb(headers[i])
|
||||||
if c.db.getCanonicalHead().blockHash != headers[i].blockHash:
|
if c.db.getCanonicalHead().blockHash != headers[i].blockHash:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user