mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
fixed typos in my own changes
This commit is contained in:
parent
f21e840586
commit
74cd5de7f1
2 changed files with 2 additions and 2 deletions
|
|
@ -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, ",") {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue