Unverified Commit 4b9c307d authored by Amir Hossein's avatar Amir Hossein Committed by GitHub

trie: fix unhandled error in test (#25628)

parent 0d68b6bf
...@@ -69,7 +69,9 @@ func TestTrieTracer(t *testing.T) { ...@@ -69,7 +69,9 @@ func TestTrieTracer(t *testing.T) {
// Commit the changes and re-create with new root // Commit the changes and re-create with new root
root, nodes, _ := trie.Commit(false) 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, _ = New(common.Hash{}, root, db)
trie.tracer = newTracer() trie.tracer = newTracer()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment