mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
trie: remove defer
This commit is contained in:
parent
d5463bbc59
commit
b7aa034386
1 changed files with 1 additions and 1 deletions
|
|
@ -149,8 +149,8 @@ func (h *hasher) encodeFullNode(n *fullNode) []byte {
|
||||||
defer wg.Done()
|
defer wg.Done()
|
||||||
|
|
||||||
h := newHasher(false)
|
h := newHasher(false)
|
||||||
defer returnHasherToPool(h)
|
|
||||||
fn.Children[i] = h.hash(n.Children[i], false)
|
fn.Children[i] = h.hash(n.Children[i], false)
|
||||||
|
returnHasherToPool(h)
|
||||||
}(i)
|
}(i)
|
||||||
}
|
}
|
||||||
wg.Wait()
|
wg.Wait()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue