diff options
Diffstat (limited to 'trie/trie.go')
-rw-r--r-- | trie/trie.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/trie/trie.go b/trie/trie.go index 7c1b5e1b6..8fe98d835 100644 --- a/trie/trie.go +++ b/trie/trie.go @@ -501,5 +501,6 @@ func (t *Trie) hashRoot(db DatabaseWriter) (node, node, error) { return hashNode(emptyRoot.Bytes()), nil, nil } h := newHasher(t.cachegen, t.cachelimit) + defer returnHasherToPool(h) return h.hash(t.root, db, true) } |