diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-02-03 01:06:43 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-02-04 17:23:15 +0800 |
commit | 188ab928c3f2a2eac5ee0f7ac42cbf2f35568bcd (patch) | |
tree | eaeebfbe371a9ae8e801bd934d7dd850c7354765 /cmd/utils/client.go | |
parent | 3274db19c7563e31f79418b63f6c10233cbaa32a (diff) | |
download | go-tangerine-188ab928c3f2a2eac5ee0f7ac42cbf2f35568bcd.tar.gz go-tangerine-188ab928c3f2a2eac5ee0f7ac42cbf2f35568bcd.tar.zst go-tangerine-188ab928c3f2a2eac5ee0f7ac42cbf2f35568bcd.zip |
cmd, common, node, rpc: move IPC into the node itself
Diffstat (limited to 'cmd/utils/client.go')
-rw-r--r-- | cmd/utils/client.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd/utils/client.go b/cmd/utils/client.go index bac456491..40ebcd729 100644 --- a/cmd/utils/client.go +++ b/cmd/utils/client.go @@ -150,10 +150,8 @@ func NewRemoteRPCClient(ctx *cli.Context) (rpc.Client, error) { endpoint := ctx.Args().First() return NewRemoteRPCClientFromString(endpoint) } - // use IPC by default - endpoint := IPCSocketPath(ctx) - return rpc.NewIPCClient(endpoint) + return rpc.NewIPCClient(node.DefaultIpcEndpoint()) } // NewRemoteRPCClientFromString returns a RPC client which connects to the given |