diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-12-05 02:56:11 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-12-15 01:36:51 +0800 |
commit | d8370a4e15f00afeb783f7f3be8b47e93c4338d2 (patch) | |
tree | 2d11ad491a7545977ee0a00a0bb7751b714355d3 /rpc/api | |
parent | fa187a366dda1894179635eeec2a929bfacc4ad3 (diff) | |
download | dexon-d8370a4e15f00afeb783f7f3be8b47e93c4338d2.tar dexon-d8370a4e15f00afeb783f7f3be8b47e93c4338d2.tar.gz dexon-d8370a4e15f00afeb783f7f3be8b47e93c4338d2.tar.bz2 dexon-d8370a4e15f00afeb783f7f3be8b47e93c4338d2.tar.lz dexon-d8370a4e15f00afeb783f7f3be8b47e93c4338d2.tar.xz dexon-d8370a4e15f00afeb783f7f3be8b47e93c4338d2.tar.zst dexon-d8370a4e15f00afeb783f7f3be8b47e93c4338d2.zip |
core, eth, node, rpc: port the admin and debug API
Diffstat (limited to 'rpc/api')
-rw-r--r-- | rpc/api/debug_js.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/rpc/api/debug_js.go b/rpc/api/debug_js.go index 0eb9f97f1..03755ada0 100644 --- a/rpc/api/debug_js.go +++ b/rpc/api/debug_js.go @@ -25,37 +25,37 @@ web3._extend({ name: 'printBlock', call: 'debug_printBlock', params: 1, - inputFormatter: [web3._extend.formatters.inputBlockNumberFormatter] + inputFormatter: [null] }), new web3._extend.Method({ name: 'getBlockRlp', call: 'debug_getBlockRlp', params: 1, - inputFormatter: [web3._extend.formatters.inputBlockNumberFormatter] + inputFormatter: [null] }), new web3._extend.Method({ name: 'setHead', call: 'debug_setHead', params: 1, - inputFormatter: [web3._extend.formatters.inputBlockNumberFormatter] + inputFormatter: [null] }), new web3._extend.Method({ name: 'processBlock', call: 'debug_processBlock', params: 1, - inputFormatter: [web3._extend.formatters.inputBlockNumberFormatter] + inputFormatter: [null] }), new web3._extend.Method({ name: 'seedHash', call: 'debug_seedHash', params: 1, - inputFormatter: [web3._extend.formatters.inputBlockNumberFormatter] + inputFormatter: [null] }), new web3._extend.Method({ name: 'dumpBlock', call: 'debug_dumpBlock', params: 1, - inputFormatter: [web3._extend.formatters.inputBlockNumberFormatter] + inputFormatter: [null] }), new web3._extend.Method({ name: 'metrics', |