Skip to content

Commit eac2df0

Browse files
committed
downloader: fixed a typo
1 parent 2053780 commit eac2df0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎eth/downloader/downloader.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ out:
311311
// 2) Measure their speed;
312312
// 3) Amount and availability.
313313
d.queue.deliver(pid, nil)
314-
if peer := p.peers[pid]; peer != nil {
314+
if peer := d.peers[pid]; peer != nil {
315315
peer.demote()
316316
}
317317
}

0 commit comments

Comments
 (0)