node: all golint warnings fixed (#16773)
* node: all golint warnings fixed * node: rm per peter * node: rm per peter
This commit is contained in:
committed by
Péter Szilágyi
parent
09d44247f7
commit
9af364e42b
@@ -217,7 +217,7 @@ func (api *PrivateAdminAPI) StartWS(host *string, port *int, allowedOrigins *str
|
||||
return true, nil
|
||||
}
|
||||
|
||||
// StopRPC terminates an already running websocket RPC API endpoint.
|
||||
// StopWS terminates an already running websocket RPC API endpoint.
|
||||
func (api *PrivateAdminAPI) StopWS() (bool, error) {
|
||||
api.node.lock.Lock()
|
||||
defer api.node.lock.Unlock()
|
||||
|
Reference in New Issue
Block a user