aboutsummaryrefslogtreecommitdiffstats
path: root/eth/downloader/queue.go
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/downloader/queue.go
parent70398d300d4da97c89f96f5c9629caa327de5c39 (diff)
downloaddexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar
dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.gz
dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.bz2
dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.lz
dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.xz
dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.zst
dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.zip
all: remove the duplicate 'the' in annotations (#17509)
Diffstat (limited to 'eth/downloader/queue.go')
-rw-r--r--eth/downloader/queue.go2
1 files changed, 1 insertions, 1 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)
}
}