forked from cerc-io/plugeth
trie: removed shallow copies (thanks to @fjl)
This commit is contained in:
parent
0a1ff68c11
commit
47460b3b4a
@ -23,7 +23,7 @@ func (self *FullNode) Copy(t *Trie) Node {
|
||||
nnode := NewFullNode(t)
|
||||
for i, node := range self.nodes {
|
||||
if node != nil {
|
||||
nnode.nodes[i] = node.Copy(t)
|
||||
nnode.nodes[i] = node
|
||||
}
|
||||
}
|
||||
nnode.dirty = true
|
||||
|
Loading…
Reference in New Issue
Block a user