aboutsummaryrefslogtreecommitdiffstats
path: root/eth/sync.go
diff options
context:
space:
mode:
Diffstat (limited to 'eth/sync.go')
-rw-r--r--eth/sync.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/sync.go b/eth/sync.go
index 917fc0fce..a3b177a4d 100644
--- a/eth/sync.go
+++ b/eth/sync.go
@@ -214,7 +214,7 @@ func (pm *ProtocolManager) fetcher() {
if announce := pending[hash]; announce != nil {
// Drop the block if it surely cannot fit
if pm.chainman.HasBlock(hash) || !pm.chainman.HasBlock(block.ParentHash()) {
- delete(pending, hash)
+ // delete(pending, hash) // if we drop, it will re-fetch it, wait for timeout?
continue
}
// Otherwise accumulate for import