mirror of https://github.com/status-im/op-geth.git
downloader: fixed a typo
This commit is contained in:
parent
205378016f
commit
eac2df02d1
|
@ -311,7 +311,7 @@ out:
|
||||||
// 2) Measure their speed;
|
// 2) Measure their speed;
|
||||||
// 3) Amount and availability.
|
// 3) Amount and availability.
|
||||||
d.queue.deliver(pid, nil)
|
d.queue.deliver(pid, nil)
|
||||||
if peer := p.peers[pid]; peer != nil {
|
if peer := d.peers[pid]; peer != nil {
|
||||||
peer.demote()
|
peer.demote()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue