aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-12-15 18:33:18 +0800
committerFelix Lange <fjl@twurst.com>2015-12-15 18:33:18 +0800
commitb9aedeab0b1cf56860f5ca53333a4f348395259c (patch)
tree3ca53caab0ea965fe322a805f5565e247346cef4 /cmd
parent9c636d2490c4f88598752834cc3226902d198ced (diff)
parentd8370a4e15f00afeb783f7f3be8b47e93c4338d2 (diff)
downloadgo-tangerine-b9aedeab0b1cf56860f5ca53333a4f348395259c.tar
go-tangerine-b9aedeab0b1cf56860f5ca53333a4f348395259c.tar.gz
go-tangerine-b9aedeab0b1cf56860f5ca53333a4f348395259c.tar.bz2
go-tangerine-b9aedeab0b1cf56860f5ca53333a4f348395259c.tar.lz
go-tangerine-b9aedeab0b1cf56860f5ca53333a4f348395259c.tar.xz
go-tangerine-b9aedeab0b1cf56860f5ca53333a4f348395259c.tar.zst
go-tangerine-b9aedeab0b1cf56860f5ca53333a4f348395259c.zip
Merge pull request #2072 from karalabe/admin-debug-apis
core, eth, node, rpc: port the admin and debug API
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gethrpctest/main.go2
-rw-r--r--cmd/utils/flags.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/gethrpctest/main.go b/cmd/gethrpctest/main.go
index 636d329e4..ae815c4a6 100644
--- a/cmd/gethrpctest/main.go
+++ b/cmd/gethrpctest/main.go
@@ -214,7 +214,7 @@ func StartIPC(stack *node.Node) 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@%s for IPC service\n", api.Service, api.Namespace)
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)