diff options
author | Wuxiang <wuxiangzhou2010@gmail.com> | 2018-04-19 21:32:02 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-04-19 21:32:02 +0800 |
commit | 8f8774cf6dd5bbcba9fa3773fa34d13d6523a147 (patch) | |
tree | e17a5fd27cd0515b0be53965da216d1e936dca28 /eth | |
parent | c514fbccc036faafef995d422a74dbe5630e7e00 (diff) | |
download | dexon-8f8774cf6dd5bbcba9fa3773fa34d13d6523a147.tar.gz 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.go | 2 | ||||
-rw-r--r-- | eth/fetcher/fetcher_test.go | 2 |
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 { |