mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
trie: fix i/index flaw
This commit is contained in:
parent
c16a0183e5
commit
b5c5f3bb13
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ func (c *committer) commitChildren(path []byte, n *fullNode, parallel bool) [17]
|
|||
} else {
|
||||
wg.Add(1)
|
||||
go func(index int) {
|
||||
p := append(path, byte(i))
|
||||
p := append(path, byte(index))
|
||||
childSet := trienode.NewNodeSet(c.nodes.Owner)
|
||||
childComitter := newCommitter(childSet, c.tracer, c.collectLeaf, false)
|
||||
h := childComitter.commit(p, child, false)
|
||||
|
|
|
|||
Loading…
Reference in a new issue