mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-13 22:04:52 +00:00
fix test_blockchain_json lastBlockHash comparison
This commit is contained in:
parent
eff5de3046
commit
192646ca8a
@ -377,6 +377,7 @@ proc testFixture(node: JsonNode, testStatusIMPL: var TestStatus, debugMode = fal
|
||||
let header = com.db.getCanonicalHead()
|
||||
let lastBlockHash = header.blockHash
|
||||
check lastBlockHash == tester.lastBlockHash
|
||||
success = lastBlockHash == tester.lastBlockHash
|
||||
if tester.postStateHash != Hash256():
|
||||
let rootHash = tester.vmState.stateDB.rootHash
|
||||
if tester.postStateHash != rootHash:
|
||||
|
Loading…
x
Reference in New Issue
Block a user