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 blakehhuynh committed Oct 3, 2022
1 parent dd62d13 commit 483b4c2
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 483b4c2

Please sign in to comment.