aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/debug.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/api/debug.go')
-rw-r--r--rpc/api/debug.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/rpc/api/debug.go b/rpc/api/debug.go
index 2930ad870..5b6a449dc 100644
--- a/rpc/api/debug.go
+++ b/rpc/api/debug.go
@@ -14,7 +14,7 @@ import (
)
const (
- DebugVersion = "1.0.0"
+ DebugApiVersion = "1.0"
)
var (
@@ -74,6 +74,10 @@ func (self *debugApi) Name() string {
return DebugApiName
}
+func (self *debugApi) ApiVersion() string {
+ return DebugApiVersion
+}
+
func (self *debugApi) PrintBlock(req *shared.Request) (interface{}, error) {
args := new(BlockNumArg)
if err := self.codec.Decode(req.Params, &args); err != nil {
@@ -100,7 +104,7 @@ func (self *debugApi) DumpBlock(req *shared.Request) (interface{}, error) {
return nil, nil
}
- return stateDb.Dump(), nil
+ return stateDb.RawDump(), nil
}
func (self *debugApi) GetBlockRlp(req *shared.Request) (interface{}, error) {