This commit is contained in:
andri lim 2019-02-14 21:53:14 +07:00 committed by zah
parent e38b1bf803
commit c53e7fa07c
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ template createTrieKeyFromSlot(slot: UInt256): ByteRange =
# morally equivalent to toByteRange_Unnecessary but with different types
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
proc setStorageRoot*(db: var AccountStateDB, address: EthAddress, storageRoot: Hash256) =