aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--eth/downloader/peer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/downloader/peer.go b/eth/downloader/peer.go
index ec2a61550..88ede16f9 100644
--- a/eth/downloader/peer.go
+++ b/eth/downloader/peer.go
@@ -22,7 +22,7 @@ type peers map[string]*peer
func (p peers) reset() {
for _, peer := range p {
- p.reset()
+ peer.reset()
}
}