diff --git a/eth/downloader/peer.go b/eth/downloader/peer.go index ec2a615500..88ede16f9a 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() } }