trie: fix unhandled error in test (#25628)

pull/25669/head^2
Amir Hossein 2 years ago committed by GitHub
parent 0d68b6bf10
commit 4b9c307d26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      trie/util_test.go

@ -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()

Loading…
Cancel
Save