From 339ee57bf4df7eb91c409c251d13bca0df2efcdf Mon Sep 17 00:00:00 2001 From: wuxiangzhou2010 Date: Thu, 19 Apr 2018 21:19:26 +0800 Subject: [PATCH] fix typo --- cmd/puppeth/module_dashboard.go | 2 +- core/bloombits/matcher.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/puppeth/module_dashboard.go b/cmd/puppeth/module_dashboard.go index 3832b247f8..4f9e88899a 100644 --- a/cmd/puppeth/module_dashboard.go +++ b/cmd/puppeth/module_dashboard.go @@ -683,7 +683,7 @@ func deployDashboard(client *sshClient, network string, conf *config, config *da return nil, client.Stream(fmt.Sprintf("cd %s && docker-compose -p %s up -d --build --force-recreate", workdir, network)) } -// dashboardInfos is returned from an dashboard status check to allow reporting +// dashboardInfos is returned from a dashboard status check to allow reporting // various configuration parameters. type dashboardInfos struct { host string diff --git a/core/bloombits/matcher.go b/core/bloombits/matcher.go index ce3031702f..8d78adb759 100644 --- a/core/bloombits/matcher.go +++ b/core/bloombits/matcher.go @@ -392,7 +392,7 @@ func (m *Matcher) distributor(dist chan *request, session *MatcherSession) { shutdown = session.quit // Shutdown request channel, will gracefully wait for pending requests ) - // assign is a helper method fo try to assign a pending bit an an actively + // assign is a helper method fo try to assign a pending bit an actively // listening servicer, or schedule it up for later when one arrives. assign := func(bit uint) { select {