diff --git a/node/config.go b/node/config.go index 2e0863a34a..1f9598a8ab 100644 --- a/node/config.go +++ b/node/config.go @@ -384,7 +384,7 @@ func (c *Config) NodeKey() *ecdsa.PrivateKey { return key } -// CheckLegacyFiles inspects the datadir for signs of legacy static-nodes +// checkLegacyFiles inspects the datadir for signs of legacy static-nodes // and trusted-nodes files. If they exist it raises an error. func (c *Config) checkLegacyFiles() { c.checkLegacyFile(c.ResolvePath(datadirStaticNodes)) diff --git a/node/rpcstack.go b/node/rpcstack.go index 9ddb35a144..701a96f651 100644 --- a/node/rpcstack.go +++ b/node/rpcstack.go @@ -595,7 +595,7 @@ func newIPCServer(log log.Logger, endpoint string) *ipcServer { return &ipcServer{log: log, endpoint: endpoint} } -// Start starts the httpServer's http.Server +// start starts the httpServer's http.Server func (is *ipcServer) start(apis []rpc.API) error { is.mu.Lock() defer is.mu.Unlock() diff --git a/node/rpcstack_test.go b/node/rpcstack_test.go index 60ce27e7e9..d55b6c3ab3 100644 --- a/node/rpcstack_test.go +++ b/node/rpcstack_test.go @@ -86,7 +86,7 @@ func TestWebsocketOrigins(t *testing.T) { expFail: []string{ "test", // no scheme, required by spec "http://test", // wrong scheme - "http://test.foo", "https://a.test.x", // subdomain variatoins + "http://test.foo", "https://a.test.x", // subdomain variations "http://testx:8540", "https://xtest:8540"}, }, // ip tests