diff options
author | Bas van Kervel <bas@ethdev.com> | 2015-06-22 18:47:32 +0800 |
---|---|---|
committer | Bas van Kervel <bas@ethdev.com> | 2015-06-22 18:47:32 +0800 |
commit | 2e0b56a72b3eafc89938003da29c06496ac9ad4e (patch) | |
tree | eba3eb3a822da0ba7de98d9c7b6dc8601a63db0a /cmd/utils/flags.go | |
parent | 2737baa6577a337f33f020d587af100c9bda3585 (diff) | |
download | go-tangerine-2e0b56a72b3eafc89938003da29c06496ac9ad4e.tar go-tangerine-2e0b56a72b3eafc89938003da29c06496ac9ad4e.tar.gz go-tangerine-2e0b56a72b3eafc89938003da29c06496ac9ad4e.tar.bz2 go-tangerine-2e0b56a72b3eafc89938003da29c06496ac9ad4e.tar.lz go-tangerine-2e0b56a72b3eafc89938003da29c06496ac9ad4e.tar.xz go-tangerine-2e0b56a72b3eafc89938003da29c06496ac9ad4e.tar.zst go-tangerine-2e0b56a72b3eafc89938003da29c06496ac9ad4e.zip |
added RPC start/stop support
Diffstat (limited to 'cmd/utils/flags.go')
-rw-r--r-- | cmd/utils/flags.go | 4 |
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) { |