forked from cerc-io/plugeth
downloader: fixed a typo
This commit is contained in:
parent
205378016f
commit
eac2df02d1
@ -311,7 +311,7 @@ out:
|
||||
// 2) Measure their speed;
|
||||
// 3) Amount and availability.
|
||||
d.queue.deliver(pid, nil)
|
||||
if peer := p.peers[pid]; peer != nil {
|
||||
if peer := d.peers[pid]; peer != nil {
|
||||
peer.demote()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user