diff options
author | Péter Szilágyi <peterke@gmail.com> | 2018-01-15 21:32:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-15 21:32:14 +0800 |
commit | 216e584899ed522088419438c9c605a20b5dc9ae (patch) | |
tree | 069a00b33295d2a1a2413f2afa52db098dee0863 /trie/trie.go | |
parent | 18a7d313386194be39e733ac3043988690f42464 (diff) | |
download | dexon-216e584899ed522088419438c9c605a20b5dc9ae.tar.gz dexon-216e584899ed522088419438c9c605a20b5dc9ae.tar.zst dexon-216e584899ed522088419438c9c605a20b5dc9ae.zip |
Revert "trie: make fullnode children hash calculation concurrently (#15131)" (#15889)
This reverts commit 0f7fbb85d6e939510a3e3bb6493a9a332ddfd8e8.
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) } |