Skip to content

Commit

Permalink
trie: fix unhandled error in test (ethereum#25628)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamandlou authored and HanWang233 committed Sep 11, 2022
1 parent 350f416 commit c6e2ffc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion trie/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ func TestTrieTracer(t *testing.T) {

// Commit the changes and re-create with new root
root, nodes, _ := trie.Commit(false)
db.Update(NewWithNodeSet(nodes))
if err := db.Update(NewWithNodeSet(nodes)); err != nil {
t.Fatal(err)
}
trie, _ = New(common.Hash{}, root, db)
trie.tracer = newTracer()

Expand Down

0 comments on commit c6e2ffc

Please sign in to comment.