diff options
author | Bas van Kervel <bas@ethdev.com> | 2015-06-10 15:42:14 +0800 |
---|---|---|
committer | Bas van Kervel <basvankervel@gmail.com> | 2015-06-11 20:43:05 +0800 |
commit | 7584e68c21cfd155a9e72b29422d8d458691d4ae (patch) | |
tree | f552bef4bb93ae8a0199a84fe1cb20a6ffb12b4b /rpc/api/debug_js.go | |
parent | 1fe617fa5791bffb6b3cc60636c6629c7aca36d3 (diff) | |
download | dexon-7584e68c21cfd155a9e72b29422d8d458691d4ae.tar.gz dexon-7584e68c21cfd155a9e72b29422d8d458691d4ae.tar.zst dexon-7584e68c21cfd155a9e72b29422d8d458691d4ae.zip |
upgrade web3.js with _extend support
Diffstat (limited to 'rpc/api/debug_js.go')
-rw-r--r-- | rpc/api/debug_js.go | 7 |
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: |