eth, eth/downloader: fix processing interrupt caused by temp cancel
This commit is contained in:
@ -251,7 +251,7 @@ func (pm *ProtocolManager) fetcher() {
|
||||
// downloading hashes and blocks as well as retrieving cached ones.
|
||||
func (pm *ProtocolManager) syncer() {
|
||||
// Abort any pending syncs if we terminate
|
||||
defer pm.downloader.Cancel()
|
||||
defer pm.downloader.Terminate()
|
||||
|
||||
forceSync := time.Tick(forceSyncCycle)
|
||||
for {
|
||||
|
Reference in New Issue
Block a user