aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorWuxiang <wuxiangzhou2010@gmail.com>2018-04-19 21:32:02 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-04-19 21:32:02 +0800
commit8f8774cf6dd5bbcba9fa3773fa34d13d6523a147 (patch)
treee17a5fd27cd0515b0be53965da216d1e936dca28 /eth
parentc514fbccc036faafef995d422a74dbe5630e7e00 (diff)
downloaddexon-8f8774cf6dd5bbcba9fa3773fa34d13d6523a147.tar
dexon-8f8774cf6dd5bbcba9fa3773fa34d13d6523a147.tar.gz
dexon-8f8774cf6dd5bbcba9fa3773fa34d13d6523a147.tar.bz2
dexon-8f8774cf6dd5bbcba9fa3773fa34d13d6523a147.tar.lz
dexon-8f8774cf6dd5bbcba9fa3773fa34d13d6523a147.tar.xz
dexon-8f8774cf6dd5bbcba9fa3773fa34d13d6523a147.tar.zst
dexon-8f8774cf6dd5bbcba9fa3773fa34d13d6523a147.zip
all: fix various typos (#16533)
* fix typo * fix typo * fix typo
Diffstat (limited to 'eth')
-rw-r--r--eth/downloader/api.go2
-rw-r--r--eth/fetcher/fetcher_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/eth/downloader/api.go b/eth/downloader/api.go
index d496fa6a4..91c6322d4 100644
--- a/eth/downloader/api.go
+++ b/eth/downloader/api.go
@@ -51,7 +51,7 @@ func NewPublicDownloaderAPI(d *Downloader, m *event.TypeMux) *PublicDownloaderAP
return api
}
-// eventLoop runs an loop until the event mux closes. It will install and uninstall new
+// eventLoop runs a loop until the event mux closes. It will install and uninstall new
// sync subscriptions and broadcasts sync status updates to the installed sync subscriptions.
func (api *PublicDownloaderAPI) eventLoop() {
var (
diff --git a/eth/fetcher/fetcher_test.go b/eth/fetcher/fetcher_test.go
index 9d53b98b6..1e536fcac 100644
--- a/eth/fetcher/fetcher_test.go
+++ b/eth/fetcher/fetcher_test.go
@@ -198,7 +198,7 @@ func (f *fetcherTester) makeBodyFetcher(peer string, blocks map[common.Hash]*typ
}
}
-// verifyFetchingEvent verifies that one single event arrive on an fetching channel.
+// verifyFetchingEvent verifies that one single event arrive on a fetching channel.
func verifyFetchingEvent(t *testing.T, fetching chan []common.Hash, arrive bool) {
if arrive {
select {