Revert "trie: make fullnode children hash calculation concurrently (#15131)" (#15889)

This reverts commit 0f7fbb85d6.
This commit is contained in:
Péter Szilágyi
2018-01-15 15:32:14 +02:00
committed by GitHub
parent 18a7d31338
commit 216e584899
3 changed files with 32 additions and 88 deletions

View File

@ -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)
}