trie: removed shallow copies (thanks to @fjl)

pull/1369/head
Jeffrey Wilcke 10 years ago
parent 0a1ff68c11
commit 47460b3b4a
  1. 2
      trie/fullnode.go

@ -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…
Cancel
Save