From 3c515f5c29a5f67a1dab96bab3c266fc982ce583 Mon Sep 17 00:00:00 2001 From: Jared Wasinger Date: Wed, 29 May 2024 19:37:57 -0700 Subject: [PATCH] address review --- triedb/pathdb/database_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/triedb/pathdb/database_test.go b/triedb/pathdb/database_test.go index 7269d6920a..04c8af415f 100644 --- a/triedb/pathdb/database_test.go +++ b/triedb/pathdb/database_test.go @@ -46,8 +46,7 @@ func updateTrie(addrHash common.Hash, root common.Hash, dirties, cleans map[comm h.Update(key.Bytes(), val) } } - root, nodes := h.Commit(false) - return root, nodes + return h.Commit(false) } func generateAccount(storageRoot common.Hash) types.StateAccount {