aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-12-05 02:56:11 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-12-15 01:36:51 +0800
commitd8370a4e15f00afeb783f7f3be8b47e93c4338d2 (patch)
tree2d11ad491a7545977ee0a00a0bb7751b714355d3 /cmd/utils
parentfa187a366dda1894179635eeec2a929bfacc4ad3 (diff)
downloadgo-tangerine-d8370a4e15f00afeb783f7f3be8b47e93c4338d2.tar
go-tangerine-d8370a4e15f00afeb783f7f3be8b47e93c4338d2.tar.gz
go-tangerine-d8370a4e15f00afeb783f7f3be8b47e93c4338d2.tar.bz2
go-tangerine-d8370a4e15f00afeb783f7f3be8b47e93c4338d2.tar.lz
go-tangerine-d8370a4e15f00afeb783f7f3be8b47e93c4338d2.tar.xz
go-tangerine-d8370a4e15f00afeb783f7f3be8b47e93c4338d2.tar.zst
go-tangerine-d8370a4e15f00afeb783f7f3be8b47e93c4338d2.zip
core, eth, node, rpc: port the admin and debug API
Diffstat (limited to 'cmd/utils')
-rw-r--r--cmd/utils/flags.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index 1aa8f4e89..63efa08ee 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -798,7 +798,7 @@ func StartIPC(stack *node.Node, ctx *cli.Context) error {
server := rpc.NewServer()
// register package API's this node provides
- offered := stack.RPCAPIs()
+ offered := stack.APIs()
for _, api := range offered {
server.RegisterName(api.Namespace, api.Service)
glog.V(logger.Debug).Infof("Register %T under namespace '%s' for IPC service\n", api.Service, api.Namespace)