aboutsummaryrefslogtreecommitdiffstats
path: root/trie/trie.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-10-15 06:40:32 +0800
committerFelix Lange <fjl@twurst.com>2016-10-15 06:42:52 +0800
commit2cd7a0395dd8813867884bced1b01663165ea1d4 (patch)
treefb1d5bab651dab23e6280327ff22f8c2094a65b2 /trie/trie.go
parent81b01f1c2bba8340f9cf2bf1da8ef131e3decd50 (diff)
downloadgo-tangerine-2cd7a0395dd8813867884bced1b01663165ea1d4.tar.gz
go-tangerine-2cd7a0395dd8813867884bced1b01663165ea1d4.tar.zst
go-tangerine-2cd7a0395dd8813867884bced1b01663165ea1d4.zip
trie: fix regression that linked all downloaded nodes together
The trie sync code links subtries using pointers into node structs. Since commit 40cdcf1183 nodes are no longer copied when unpacking from an interface value, causing all nodes to get linked up as the sync progresses. Fix it by breaking the pointer chain with an explicit copy.
Diffstat (limited to 'trie/trie.go')
0 files changed, 0 insertions, 0 deletions