aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils
diff options
context:
space:
mode:
authorBas van Kervel <bas@ethdev.com>2015-06-22 18:47:32 +0800
committerBas van Kervel <bas@ethdev.com>2015-06-22 18:47:32 +0800
commit2e0b56a72b3eafc89938003da29c06496ac9ad4e (patch)
treeeba3eb3a822da0ba7de98d9c7b6dc8601a63db0a /cmd/utils
parent2737baa6577a337f33f020d587af100c9bda3585 (diff)
downloaddexon-2e0b56a72b3eafc89938003da29c06496ac9ad4e.tar
dexon-2e0b56a72b3eafc89938003da29c06496ac9ad4e.tar.gz
dexon-2e0b56a72b3eafc89938003da29c06496ac9ad4e.tar.bz2
dexon-2e0b56a72b3eafc89938003da29c06496ac9ad4e.tar.lz
dexon-2e0b56a72b3eafc89938003da29c06496ac9ad4e.tar.xz
dexon-2e0b56a72b3eafc89938003da29c06496ac9ad4e.tar.zst
dexon-2e0b56a72b3eafc89938003da29c06496ac9ad4e.zip
added RPC start/stop support
Diffstat (limited to 'cmd/utils')
-rw-r--r--cmd/utils/flags.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index a9d449d1f..15a577a07 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -461,7 +461,7 @@ func StartIPC(eth *eth.Ethereum, ctx *cli.Context) error {
return err
}
- return comms.StartIpc(config, codec, apis...)
+ return comms.StartIpc(config, codec, api.Merge(apis...))
}
func StartRPC(eth *eth.Ethereum, ctx *cli.Context) error {
@@ -479,7 +479,7 @@ func StartRPC(eth *eth.Ethereum, ctx *cli.Context) error {
return err
}
- return comms.StartHttp(config, codec, apis...)
+ return comms.StartHttp(config, codec, api.Merge(apis...))
}
func StartPProf(ctx *cli.Context) {