From 0bd353373e451d6c76c1b79752af489860bced2c Mon Sep 17 00:00:00 2001 From: Daniel Liu <139250065@qq.com> Date: Wed, 8 Oct 2025 12:20:53 +0800 Subject: [PATCH] trie: fix unhandled error in test #25628 (#1115) Co-authored-by: Amir Hossein <77993374+Kamandlou@users.noreply.github.com> --- trie/util_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/trie/util_test.go b/trie/util_test.go index 5a347bdbce..bcb9b72790 100644 --- a/trie/util_test.go +++ b/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()