diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-02-09 20:10:40 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-02-09 20:10:40 +0800 |
commit | df75dbfd6804923b1c8a8388b67523072d59f155 (patch) | |
tree | 5191e9a8004499727a42336be1f092bc04943ae8 /node/api.go | |
parent | 900e124beea551ded290f61e7bf85ff6b2e4a29e (diff) | |
download | dexon-df75dbfd6804923b1c8a8388b67523072d59f155.tar.gz dexon-df75dbfd6804923b1c8a8388b67523072d59f155.tar.zst dexon-df75dbfd6804923b1c8a8388b67523072d59f155.zip |
cmd, node, rpc: readd inproc RPC client, expose via node
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 879b33816..48cbd0150 100644 --- a/node/api.go +++ b/node/api.go @@ -89,7 +89,7 @@ func (api *PrivateAdminAPI) StartWS(host string, port int, cors string, apis str defer api.node.lock.Unlock() if api.node.wsHandler != nil { - return false, fmt.Errorf("WebSocker RPC already running on %s", api.node.wsEndpoint) + return false, fmt.Errorf("WebSocket RPC already running on %s", api.node.wsEndpoint) } if err := api.node.startWS(fmt.Sprintf("%s:%d", host, port), api.node.rpcAPIs, strings.Split(apis, ","), cors); err != nil { return false, err |