aboutsummaryrefslogtreecommitdiffstats
path: root/eth/handler.go
diff options
context:
space:
mode:
authormr_franklin <mr_franklin@126.com>2018-11-15 22:31:24 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-11-15 22:31:24 +0800
commitb91766fe6db6e484f2fd75f617307a48ff85600e (patch)
tree9a5cbeb4478c8cbe7a2e0d1c5a0fe115941a3f30 /eth/handler.go
parenta6942b9f25bd6c67a5ab9e80ab95aae25a08da6d (diff)
downloaddexon-b91766fe6db6e484f2fd75f617307a48ff85600e.tar.gz
dexon-b91766fe6db6e484f2fd75f617307a48ff85600e.tar.zst
dexon-b91766fe6db6e484f2fd75f617307a48ff85600e.zip
eth: fix comment typo (#18114)
* consensus/clique: fix comment typo * eth,eth/downloader: fix comment typo
Diffstat (limited to 'eth/handler.go')
-rw-r--r--eth/handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/handler.go b/eth/handler.go
index bd227a84e..741fc9d5a 100644
--- a/eth/handler.go
+++ b/eth/handler.go
@@ -658,7 +658,7 @@ func (pm *ProtocolManager) handleMsg(p *peer) error {
p.SetHead(trueHead, trueTD)
// Schedule a sync if above ours. Note, this will not fire a sync for a gap of
- // a singe block (as the true TD is below the propagated block), however this
+ // a single block (as the true TD is below the propagated block), however this
// scenario should easily be covered by the fetcher.
currentBlock := pm.blockchain.CurrentBlock()
if trueTD.Cmp(pm.blockchain.GetTd(currentBlock.Hash(), currentBlock.NumberU64())) > 0 {