Skip to content

Commit 3c515f5

Browse files
committed
address review
1 parent 0d78087 commit 3c515f5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

triedb/pathdb/database_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ func updateTrie(addrHash common.Hash, root common.Hash, dirties, cleans map[comm
4646
h.Update(key.Bytes(), val)
4747
}
4848
}
49-
root, nodes := h.Commit(false)
50-
return root, nodes
49+
return h.Commit(false)
5150
}
5251

5352
func generateAccount(storageRoot common.Hash) types.StateAccount {

0 commit comments

Comments
 (0)