diff options
Diffstat (limited to 'block_pool.go')
-rw-r--r-- | block_pool.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block_pool.go b/block_pool.go index f89ee71df..a1c3fc096 100644 --- a/block_pool.go +++ b/block_pool.go @@ -200,7 +200,7 @@ func (self *BlockPool) DistributeHashes() { } else if lastFetchFailed || item.peer == nil { // Find a suitable, available peer eachPeer(self.eth.peers, func(p *Peer, v *list.Element) { - if peer == nil && len(dist[p]) < amount/peerLen { + if peer == nil && len(dist[p]) < amount/peerLen && p.statusKnown { peer = p } }) |