mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-13 13:55:45 +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.")
|
||||
|
||||
if validationResult != ValidationResult.OK:
|
||||
result = validationResult
|
||||
return
|
||||
return validationResult
|
||||
|
||||
discard c.db.persistHeaderToDb(headers[i])
|
||||
if c.db.getCanonicalHead().blockHash != headers[i].blockHash:
|
||||
|
Loading…
x
Reference in New Issue
Block a user