fixed typos in my own changes

This commit is contained in:
renaynay 2020-03-27 09:58:02 +01:00
parent f21e840586
commit 74cd5de7f1
No known key found for this signature in database
GPG key ID: 731E44FAAFCD0274
2 changed files with 2 additions and 2 deletions

View file

@ -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, ",") {

View file

@ -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