address review

This commit is contained in:
Jared Wasinger 2024-05-29 19:37:57 -07:00
parent 0d78087e88
commit 3c515f5c29

View file

@ -46,8 +46,7 @@ func updateTrie(addrHash common.Hash, root common.Hash, dirties, cleans map[comm
h.Update(key.Bytes(), val) h.Update(key.Bytes(), val)
} }
} }
root, nodes := h.Commit(false) return h.Commit(false)
return root, nodes
} }
func generateAccount(storageRoot common.Hash) types.StateAccount { func generateAccount(storageRoot common.Hash) types.StateAccount {