aboutsummaryrefslogtreecommitdiffstats
path: root/common/path.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 /common/path.go
parent81b01f1c2bba8340f9cf2bf1da8ef131e3decd50 (diff)
downloaddexon-2cd7a0395dd8813867884bced1b01663165ea1d4.tar
dexon-2cd7a0395dd8813867884bced1b01663165ea1d4.tar.gz
dexon-2cd7a0395dd8813867884bced1b01663165ea1d4.tar.bz2
dexon-2cd7a0395dd8813867884bced1b01663165ea1d4.tar.lz
dexon-2cd7a0395dd8813867884bced1b01663165ea1d4.tar.xz
dexon-2cd7a0395dd8813867884bced1b01663165ea1d4.tar.zst
dexon-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 'common/path.go')
0 files changed, 0 insertions, 0 deletions