diff options
author | Felix Lange <fjl@twurst.com> | 2015-11-18 05:55:32 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-11-19 21:18:35 +0800 |
commit | b7b62d4b3caa611953212bf04c5552f86d4d1261 (patch) | |
tree | cfdc22ba8f33ebe877971683378131782c5246d6 /logger/loggers.go | |
parent | db52a6a0ffced52477eec45ada8f3233415c3d18 (diff) | |
download | go-tangerine-b7b62d4b3caa611953212bf04c5552f86d4d1261.tar go-tangerine-b7b62d4b3caa611953212bf04c5552f86d4d1261.tar.gz go-tangerine-b7b62d4b3caa611953212bf04c5552f86d4d1261.tar.bz2 go-tangerine-b7b62d4b3caa611953212bf04c5552f86d4d1261.tar.lz go-tangerine-b7b62d4b3caa611953212bf04c5552f86d4d1261.tar.xz go-tangerine-b7b62d4b3caa611953212bf04c5552f86d4d1261.tar.zst go-tangerine-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 'logger/loggers.go')
0 files changed, 0 insertions, 0 deletions