From 47460b3b4af51e08518c781680897cf2986415cc Mon Sep 17 00:00:00 2001 From: Jeffrey Wilcke Date: Thu, 2 Jul 2015 18:21:14 +0200 Subject: [PATCH] trie: removed shallow copies (thanks to @fjl) --- trie/fullnode.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trie/fullnode.go b/trie/fullnode.go index 95c8eb4be..1bfdcd5bf 100644 --- a/trie/fullnode.go +++ b/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