mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-22 19:40:36 +00:00
trie: fix unhandled error in test (#25628)
This commit is contained in:
parent
0d68b6bf10
commit
4b9c307d26
@ -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…
Reference in New Issue
Block a user