trie: removed shallow copies (thanks to @fjl)

This commit is contained in:
Jeffrey Wilcke 2015-07-02 18:21:14 +02:00
parent 0a1ff68c11
commit 47460b3b4a
1 changed files with 1 additions and 1 deletions

View File

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