From f1564c7106173618d5d1fbc705b4a59975a07f76 Mon Sep 17 00:00:00 2001 From: wuxiangzhou2010 Date: Thu, 19 Apr 2018 20:09:38 +0800 Subject: [PATCH] fix typo --- cmd/geth/main.go | 2 +- eth/downloader/api.go | 2 +- node/config.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/geth/main.go b/cmd/geth/main.go index d94154245f..d6a004c7a8 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -241,7 +241,7 @@ func startNode(ctx *cli.Context, stack *node.Node) { stack.AccountManager().Subscribe(events) go func() { - // Create an chain state reader for self-derivation + // Create a chain state reader for self-derivation rpcClient, err := stack.Attach() if err != nil { utils.Fatalf("Failed to attach to self: %v", err) diff --git a/eth/downloader/api.go b/eth/downloader/api.go index d496fa6a4d..91c6322d41 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/node/config.go b/node/config.go index dda24583ee..486eddf925 100644 --- a/node/config.go +++ b/node/config.go @@ -209,7 +209,7 @@ func DefaultHTTPEndpoint() string { return config.HTTPEndpoint() } -// WSEndpoint resolves an websocket endpoint based on the configured host interface +// WSEndpoint resolves a websocket endpoint based on the configured host interface // and port parameters. func (c *Config) WSEndpoint() string { if c.WSHost == "" {