diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-19 07:39:37 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-19 07:39:37 +0800 |
commit | 5c59d9553218891cd33831aae607668a0b5bf022 (patch) | |
tree | 7b46d9c61b2ae7b6c4da3a44b6e993a280a3f33b /eth/downloader/peer.go | |
parent | 86ecdcd5ff8c86a5d1c25322230cfcef0a2cfe8d (diff) | |
download | dexon-5c59d9553218891cd33831aae607668a0b5bf022.tar dexon-5c59d9553218891cd33831aae607668a0b5bf022.tar.gz dexon-5c59d9553218891cd33831aae607668a0b5bf022.tar.bz2 dexon-5c59d9553218891cd33831aae607668a0b5bf022.tar.lz dexon-5c59d9553218891cd33831aae607668a0b5bf022.tar.xz dexon-5c59d9553218891cd33831aae607668a0b5bf022.tar.zst dexon-5c59d9553218891cd33831aae607668a0b5bf022.zip |
downloader: defer peer reset after download
Diffstat (limited to 'eth/downloader/peer.go')
-rw-r--r-- | eth/downloader/peer.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/eth/downloader/peer.go b/eth/downloader/peer.go index 88ede16f9..7065ca105 100644 --- a/eth/downloader/peer.go +++ b/eth/downloader/peer.go @@ -137,4 +137,5 @@ func (p *peer) demote() { func (p *peer) reset() { p.state = idleState + p.requested.Clear() } |