From 8f8774cf6dd5bbcba9fa3773fa34d13d6523a147 Mon Sep 17 00:00:00 2001 From: Wuxiang Date: Thu, 19 Apr 2018 21:32:02 +0800 Subject: all: fix various typos (#16533) * fix typo * fix typo * fix typo --- eth/downloader/api.go | 2 +- eth/fetcher/fetcher_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'eth') 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 { -- cgit v1.2.3