diff options
Diffstat (limited to 'les/distributor.go')
-rw-r--r-- | les/distributor.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/les/distributor.go b/les/distributor.go index e8ef5b02e..159fa4c73 100644 --- a/les/distributor.go +++ b/les/distributor.go @@ -191,7 +191,7 @@ func (d *requestDistributor) nextRequest() (distPeer, *distReq, time.Duration) { for (len(d.peers) > 0 || elem == d.reqQueue.Front()) && elem != nil { req := elem.Value.(*distReq) canSend := false - for peer, _ := range d.peers { + for peer := range d.peers { if _, ok := checkedPeers[peer]; !ok && peer.canQueue() && req.canSend(peer) { canSend = true cost := req.getCost(peer) |