diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-05-26 17:44:09 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-06-05 17:52:48 +0800 |
commit | 94e525ae12bf3455ae434feb83ad834c8dcfa1ad (patch) | |
tree | ebe876afe8359e9014188721c876216cce94bd14 /eth/sync.go | |
parent | 067e66b34869402cf7bd0f352dad37bd4200e976 (diff) | |
download | dexon-94e525ae12bf3455ae434feb83ad834c8dcfa1ad.tar.gz dexon-94e525ae12bf3455ae434feb83ad834c8dcfa1ad.tar.zst dexon-94e525ae12bf3455ae434feb83ad834c8dcfa1ad.zip |
eth, eth/downloader: fix #1098, elevate empty hash errors to peer drops
Diffstat (limited to 'eth/sync.go')
-rw-r--r-- | eth/sync.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/sync.go b/eth/sync.go index 76e137630..56084f2f0 100644 --- a/eth/sync.go +++ b/eth/sync.go @@ -109,7 +109,7 @@ func (pm *ProtocolManager) synchronise(peer *peer) { case downloader.ErrBusy: glog.V(logger.Debug).Infof("Synchronisation already in progress") - case downloader.ErrTimeout, downloader.ErrBadPeer, downloader.ErrInvalidChain, downloader.ErrCrossCheckFailed: + case downloader.ErrTimeout, downloader.ErrBadPeer, downloader.ErrEmptyHashSet, downloader.ErrInvalidChain, downloader.ErrCrossCheckFailed: glog.V(logger.Debug).Infof("Removing peer %v: %v", peer.id, err) pm.removePeer(peer.id) |