Skip to content

Commit

Permalink
trie: removed shallow copies (thanks to @fjl)
Browse files Browse the repository at this point in the history
  • Loading branch information
obscuren committed Jul 4, 2015
1 parent 0a1ff68 commit 47460b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trie/fullnode.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 47460b3

Please sign in to comment.