diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-17 06:11:41 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-17 06:11:45 +0800 |
commit | eac2df02d17f9a2a42310b8d6580dd5bea53a48e (patch) | |
tree | 2a528921d9774b75cf20d400f3893c333b28aed6 /eth | |
parent | 205378016fc342a9ee683b3d040b3e7d0e2ebb51 (diff) | |
download | dexon-eac2df02d17f9a2a42310b8d6580dd5bea53a48e.tar.gz dexon-eac2df02d17f9a2a42310b8d6580dd5bea53a48e.tar.zst dexon-eac2df02d17f9a2a42310b8d6580dd5bea53a48e.zip |
downloader: fixed a typo
Diffstat (limited to 'eth')
-rw-r--r-- | eth/downloader/downloader.go | 2 |
1 files changed, 1 insertions, 1 deletions
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() } } |