aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorRicardo Domingos <ricardohsd@gmail.com>2017-11-24 17:20:01 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-11-24 17:20:01 +0800
commit9ff9d04a6906cdb941f6797e63b9da7536316b64 (patch)
tree5fbf2102372237cdf386afde5fedcb483532f71b /eth
parentedc3e0efeb7f07872bc4bc042433c7135297a5ed (diff)
downloaddexon-9ff9d04a6906cdb941f6797e63b9da7536316b64.tar.gz
dexon-9ff9d04a6906cdb941f6797e63b9da7536316b64.tar.zst
dexon-9ff9d04a6906cdb941f6797e63b9da7536316b64.zip
all: fix code comment typos (#15547)
* console: fix typo in comment * contracts/release: fix typo in comment * core: fix typo in comment * eth: fix typo in comment * miner: fix typo in comment
Diffstat (limited to 'eth')
-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 e638744ea..a4aa86114 100644
--- a/eth/downloader/peer.go
+++ b/eth/downloader/peer.go
@@ -548,7 +548,7 @@ func (ps *peerSet) idlePeers(minProtocol, maxProtocol int, idleCheck func(*peerC
return idle, total
}
-// medianRTT returns the median RTT of te peerset, considering only the tuning
+// 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