diff --git a/trie/stacktrie.go b/trie/stacktrie.go index 6b232882d3..781c842961 100644 --- a/trie/stacktrie.go +++ b/trie/stacktrie.go @@ -81,6 +81,7 @@ func (t *StackTrie) MustUpdate(key, value []byte) { } func (t *StackTrie) Reset() { + t.writeFn = nil t.root = stPool.Get().(*stNode) }