aboutsummaryrefslogtreecommitdiffstats
path: root/node/node.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2016-01-28 23:11:24 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2016-01-28 23:11:24 +0800
commit528dcc3814aa1ee5bfcf3812aa4085f45a6623c4 (patch)
tree89ee7b6627e61ab6af52f32abef5595ce34b926b /node/node.go
parentae1a137ce7daa885938e010dccd8436f8570329f (diff)
parent3750d835a1697f6784c727074cc959dda33cdcf3 (diff)
downloaddexon-528dcc3814aa1ee5bfcf3812aa4085f45a6623c4.tar
dexon-528dcc3814aa1ee5bfcf3812aa4085f45a6623c4.tar.gz
dexon-528dcc3814aa1ee5bfcf3812aa4085f45a6623c4.tar.bz2
dexon-528dcc3814aa1ee5bfcf3812aa4085f45a6623c4.tar.lz
dexon-528dcc3814aa1ee5bfcf3812aa4085f45a6623c4.tar.xz
dexon-528dcc3814aa1ee5bfcf3812aa4085f45a6623c4.tar.zst
dexon-528dcc3814aa1ee5bfcf3812aa4085f45a6623c4.zip
Merge pull request #2151 from fjl/debug-api
internal/debug: APIs for profiling and tracing
Diffstat (limited to 'node/node.go')
-rw-r--r--node/node.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/node/node.go b/node/node.go
index 3d077b0bd..4af111a41 100644
--- a/node/node.go
+++ b/node/node.go
@@ -26,6 +26,7 @@ import (
"syscall"
"github.com/ethereum/go-ethereum/event"
+ "github.com/ethereum/go-ethereum/internal/debug"
"github.com/ethereum/go-ethereum/p2p"
"github.com/ethereum/go-ethereum/rpc"
)
@@ -284,7 +285,7 @@ func (n *Node) APIs() []rpc.API {
}, {
Namespace: "debug",
Version: "1.0",
- Service: NewPrivateDebugAPI(n),
+ Service: debug.Handler,
}, {
Namespace: "debug",
Version: "1.0",