aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/debug_js.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/api/debug_js.go')
-rw-r--r--rpc/api/debug_js.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/rpc/api/debug_js.go b/rpc/api/debug_js.go
index fe19a077d..35fecb75f 100644
--- a/rpc/api/debug_js.go
+++ b/rpc/api/debug_js.go
@@ -39,6 +39,13 @@ web3._extend({
params: 1,
inputFormatter: [web3._extend.formatters.formatInputInt],
outputFormatter: web3._extend.formatters.formatOutputString
+ }) ,
+ new web3._extend.Method({
+ name: 'dumpBlock',
+ call: 'debug_dumpBlock',
+ params: 1,
+ inputFormatter: [web3._extend.formatters.formatInputInt],
+ outputFormatter: function(obj) { return obj; }
})
],
properties: