aboutsummaryrefslogtreecommitdiffstats
path: root/eth/downloader/queue.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/queue.go
parent2a4bd55b43df92fe2f83468656ca03199596bceb (diff)
downloaddexon-7aad81f8815084c8ed032705fbaf6d3710e518cf.tar
dexon-7aad81f8815084c8ed032705fbaf6d3710e518cf.tar.gz
dexon-7aad81f8815084c8ed032705fbaf6d3710e518cf.tar.bz2
dexon-7aad81f8815084c8ed032705fbaf6d3710e518cf.tar.lz
dexon-7aad81f8815084c8ed032705fbaf6d3710e518cf.tar.xz
dexon-7aad81f8815084c8ed032705fbaf6d3710e518cf.tar.zst
dexon-7aad81f8815084c8ed032705fbaf6d3710e518cf.zip
eth: fix typos (#16414)
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 359cce54b..bbe0aed5d 100644
--- a/eth/downloader/queue.go
+++ b/eth/downloader/queue.go
@@ -275,7 +275,7 @@ func (q *queue) ScheduleSkeleton(from uint64, skeleton []*types.Header) {
if q.headerResults != nil {
panic("skeleton assembly already in progress")
}
- // Shedule all the header retrieval tasks for the skeleton assembly
+ // Schedule all the header retrieval tasks for the skeleton assembly
q.headerTaskPool = make(map[uint64]*types.Header)
q.headerTaskQueue = prque.New()
q.headerPeerMiss = make(map[string]map[uint64]struct{}) // Reset availability to correct invalid chains