From 55085ed3f95ceaef0d500698922d0ec0e4cdd336 Mon Sep 17 00:00:00 2001 From: Jared Wasinger Date: Tue, 18 Jun 2024 16:51:02 -0700 Subject: [PATCH] trie: don't reset tracer at the end of Commit --- trie/trie.go | 1 - 1 file changed, 1 deletion(-) diff --git a/trie/trie.go b/trie/trie.go index 935f81fc7d..af8bb862a9 100644 --- a/trie/trie.go +++ b/trie/trie.go @@ -609,7 +609,6 @@ func (t *Trie) Hash() common.Hash { // Once the trie is committed, it's not usable anymore. A new trie must // be created with new root and updated trie database for following usage func (t *Trie) Commit(collectLeaf bool) (common.Hash, *trienode.NodeSet) { - defer t.tracer.reset() defer func() { t.committed = true }()