diff options
author | kiel barry <kiel.j.barry@gmail.com> | 2018-05-22 15:29:41 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-05-22 15:29:41 +0800 |
commit | 9af364e42b2fbbacf2febf9c43068ddb8a058b79 (patch) | |
tree | e4d9c168db84d707b81195ee66f703c6a14a89c6 /node/api.go | |
parent | 09d44247f746b177e46754ba56ad7e9bc0bd8ef6 (diff) | |
download | dexon-9af364e42b2fbbacf2febf9c43068ddb8a058b79.tar.gz dexon-9af364e42b2fbbacf2febf9c43068ddb8a058b79.tar.zst dexon-9af364e42b2fbbacf2febf9c43068ddb8a058b79.zip |
node: all golint warnings fixed (#16773)
* node: all golint warnings fixed
* node: rm per peter
* node: rm per peter
Diffstat (limited to 'node/api.go')
-rw-r--r-- | node/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/api.go b/node/api.go index a3b8bc0bb..da9da5bd7 100644 --- a/node/api.go +++ b/node/api.go @@ -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() |