aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorWenbiao Zheng <delweng@gmail.com>2018-08-27 16:49:29 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-08-27 16:49:29 +0800
commitd1aa605f1e8639769cdd75bcec3064c29a62b34a (patch)
tree84d7aba82d7365ca736afa52b66ef100d117afca /eth
parent70398d300d4da97c89f96f5c9629caa327de5c39 (diff)
downloaddexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.gz
dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.zst
dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.zip
all: remove the duplicate 'the' in annotations (#17509)
Diffstat (limited to 'eth')
-rw-r--r--eth/downloader/queue.go2
-rw-r--r--eth/fetcher/fetcher.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/eth/downloader/queue.go b/eth/downloader/queue.go
index 984dd13d6..8529535ba 100644
--- a/eth/downloader/queue.go
+++ b/eth/downloader/queue.go
@@ -662,7 +662,7 @@ func (q *queue) expire(timeout time.Duration, pendPool map[string]*fetchRequest,
for _, header := range request.Headers {
taskQueue.Push(header, -float32(header.Number.Uint64()))
}
- // Add the peer to the expiry report along the the number of failed requests
+ // Add the peer to the expiry report along the number of failed requests
expiries[id] = len(request.Headers)
}
}
diff --git a/eth/fetcher/fetcher.go b/eth/fetcher/fetcher.go
index 6383596dc..277f14b81 100644
--- a/eth/fetcher/fetcher.go
+++ b/eth/fetcher/fetcher.go
@@ -204,7 +204,7 @@ func (f *Fetcher) Notify(peer string, hash common.Hash, number uint64, time time
}
}
-// Enqueue tries to fill gaps the the fetcher's future import queue.
+// Enqueue tries to fill gaps the fetcher's future import queue.
func (f *Fetcher) Enqueue(peer string, block *types.Block) error {
op := &inject{
origin: peer,