diff options
author | Bas van Kervel <bas@ethdev.com> | 2015-07-06 21:59:36 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-07-07 17:30:23 +0800 |
commit | 7e6c1f8024d0cc0f381c615cab3c97b57fc9515e (patch) | |
tree | e9eee95bdf3a6ca55b39328d7dc2a32d18a8e31e /rpc/api/admin_js.go | |
parent | ceb0739ba111215d47cc2ff9d80d542fa26d764a (diff) | |
download | go-tangerine-7e6c1f8024d0cc0f381c615cab3c97b57fc9515e.tar go-tangerine-7e6c1f8024d0cc0f381c615cab3c97b57fc9515e.tar.gz go-tangerine-7e6c1f8024d0cc0f381c615cab3c97b57fc9515e.tar.bz2 go-tangerine-7e6c1f8024d0cc0f381c615cab3c97b57fc9515e.tar.lz go-tangerine-7e6c1f8024d0cc0f381c615cab3c97b57fc9515e.tar.xz go-tangerine-7e6c1f8024d0cc0f381c615cab3c97b57fc9515e.tar.zst go-tangerine-7e6c1f8024d0cc0f381c615cab3c97b57fc9515e.zip |
corrected input formatters as suggested during review
Diffstat (limited to 'rpc/api/admin_js.go')
-rw-r--r-- | rpc/api/admin_js.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc/api/admin_js.go b/rpc/api/admin_js.go index e528b8863..86a4f6a4c 100644 --- a/rpc/api/admin_js.go +++ b/rpc/api/admin_js.go @@ -34,7 +34,7 @@ web3._extend({ name: 'verbosity', call: 'admin_verbosity', params: 1, - inputFormatter: [web3._extend.utils.toDecimal] + inputFormatter: [web3._extend.utils.fromDecimal] }), new web3._extend.Method({ name: 'setSolc', @@ -46,7 +46,7 @@ web3._extend({ name: 'startRPC', call: 'admin_startRPC', params: 4, - inputFormatter: [null, web3._extend.utils.toDecimal, null, null] + inputFormatter: [null, null, null, null] }), new web3._extend.Method({ name: 'stopRPC', |