aboutsummaryrefslogtreecommitdiffstats
path: root/eth/downloader/peer.go
diff options
context:
space:
mode:
authorYusup <awklsgrep@gmail.com>2018-04-04 18:25:02 +0800
committerFelix Lange <fjl@users.noreply.github.com>2018-04-04 18:25:02 +0800
commit7aad81f8815084c8ed032705fbaf6d3710e518cf (patch)
treea79cccc5f2040ac2ec496ca18e7381390c30fbc7 /eth/downloader/peer.go
parent2a4bd55b43df92fe2f83468656ca03199596bceb (diff)
downloadgo-tangerine-7aad81f8815084c8ed032705fbaf6d3710e518cf.tar.gz
go-tangerine-7aad81f8815084c8ed032705fbaf6d3710e518cf.tar.zst
go-tangerine-7aad81f8815084c8ed032705fbaf6d3710e518cf.zip
eth: fix typos (#16414)
Diffstat (limited to 'eth/downloader/peer.go')
-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 a4aa86114..428a60f8a 100644
--- a/eth/downloader/peer.go
+++ b/eth/downloader/peer.go
@@ -551,7 +551,7 @@ func (ps *peerSet) idlePeers(minProtocol, maxProtocol int, idleCheck func(*peerC
// medianRTT returns the median RTT of the peerset, considering only the tuning
// peers if there are more peers available.
func (ps *peerSet) medianRTT() time.Duration {
- // Gather all the currnetly measured round trip times
+ // Gather all the currently measured round trip times
ps.lock.RLock()
defer ps.lock.RUnlock()