diff options
author | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-07-03 00:21:14 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-07-04 08:51:37 +0800 |
commit | 47460b3b4af51e08518c781680897cf2986415cc (patch) | |
tree | e06809ec75b0e4d2db2c928343d3f2ae1251eacf /trie | |
parent | 0a1ff68c11706f60355b392cb16a681630260ac3 (diff) | |
download | go-tangerine-47460b3b4af51e08518c781680897cf2986415cc.tar.gz go-tangerine-47460b3b4af51e08518c781680897cf2986415cc.tar.zst go-tangerine-47460b3b4af51e08518c781680897cf2986415cc.zip |
trie: removed shallow copies (thanks to @fjl)
Diffstat (limited to 'trie')
-rw-r--r-- | trie/fullnode.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |