From 74cd5de7f19c2c017d436921e42238ac61a140f1 Mon Sep 17 00:00:00 2001 From: renaynay <41963722+renaynay@users.noreply.github.com> Date: Fri, 27 Mar 2020 09:58:02 +0100 Subject: [PATCH] fixed typos in my own changes --- node/api.go | 2 +- node/node.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/node/api.go b/node/api.go index 60e207932d..66cd1dde33 100644 --- a/node/api.go +++ b/node/api.go @@ -232,7 +232,7 @@ func (api *PrivateAdminAPI) StartWS(host *string, port *int, allowedOrigins *str } } - modules := api.node.config.WSModxules + modules := api.node.config.WSModules if apis != nil { modules = nil for _, m := range strings.Split(*apis, ",") { diff --git a/node/node.go b/node/node.go index c49a3448a8..39e15e0a74 100644 --- a/node/node.go +++ b/node/node.go @@ -275,7 +275,7 @@ func (n *Node) openDataDir() error { } // startRPC is a helper method to start all the various RPC endpoints during node -// startup. It's not meant to be called at any time afterwards, as it makes certain +// startup. It's not meant to be called at any time afterwards as it makes certain // assumptions about the state of the node. func (n *Node) startRPC(services map[reflect.Type]Service) error { // Gather all the possible APIs to surface