From eac2df02d17f9a2a42310b8d6580dd5bea53a48e Mon Sep 17 00:00:00 2001 From: obscuren Date: Fri, 17 Apr 2015 00:11:41 +0200 Subject: downloader: fixed a typo --- eth/downloader/downloader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eth') diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go index 91cc65249..4e795af6d 100644 --- a/eth/downloader/downloader.go +++ b/eth/downloader/downloader.go @@ -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() } } -- cgit v1.2.3