fixes #228
This commit is contained in:
parent
e38b1bf803
commit
c53e7fa07c
|
@ -80,7 +80,7 @@ template createTrieKeyFromSlot(slot: UInt256): ByteRange =
|
||||||
# morally equivalent to toByteRange_Unnecessary but with different types
|
# morally equivalent to toByteRange_Unnecessary but with different types
|
||||||
|
|
||||||
template getAccountTrie(stateDb: AccountStateDB, account: Account): auto =
|
template getAccountTrie(stateDb: AccountStateDB, account: Account): auto =
|
||||||
initSecureHexaryTrie(HexaryTrie(stateDb.trie).db, account.storageRoot)
|
initSecureHexaryTrie(HexaryTrie(stateDb.trie).db, account.storageRoot, false)
|
||||||
|
|
||||||
# XXX: https://github.com/status-im/nimbus/issues/142#issuecomment-420583181
|
# XXX: https://github.com/status-im/nimbus/issues/142#issuecomment-420583181
|
||||||
proc setStorageRoot*(db: var AccountStateDB, address: EthAddress, storageRoot: Hash256) =
|
proc setStorageRoot*(db: var AccountStateDB, address: EthAddress, storageRoot: Hash256) =
|
||||||
|
|
Loading…
Reference in New Issue