aboutsummaryrefslogtreecommitdiffstats
path: root/eth/peer.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-11-18 05:55:32 +0800
committerFelix Lange <fjl@twurst.com>2015-11-19 21:18:35 +0800
commitb7b62d4b3caa611953212bf04c5552f86d4d1261 (patch)
treecfdc22ba8f33ebe877971683378131782c5246d6 /eth/peer.go
parentdb52a6a0ffced52477eec45ada8f3233415c3d18 (diff)
downloaddexon-b7b62d4b3caa611953212bf04c5552f86d4d1261.tar
dexon-b7b62d4b3caa611953212bf04c5552f86d4d1261.tar.gz
dexon-b7b62d4b3caa611953212bf04c5552f86d4d1261.tar.bz2
dexon-b7b62d4b3caa611953212bf04c5552f86d4d1261.tar.lz
dexon-b7b62d4b3caa611953212bf04c5552f86d4d1261.tar.xz
dexon-b7b62d4b3caa611953212bf04c5552f86d4d1261.tar.zst
dexon-b7b62d4b3caa611953212bf04c5552f86d4d1261.zip
eth/downloader: also drain stateCh, receiptCh in eth/61 mode
State and receipt deliveries from a previous eth/62+ sync can hang if the downloader has moved on to syncing with eth/61. Fix this by also draining the eth/63 channels while waiting for eth/61 data. A nicer solution would be to take care of the channels in a central place, but that would involve a major rewrite.
Diffstat (limited to 'eth/peer.go')
0 files changed, 0 insertions, 0 deletions