diff options
author | Bas van Kervel <bas@ethdev.com> | 2015-07-06 19:08:08 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-07-07 17:30:11 +0800 |
commit | ceb0739ba111215d47cc2ff9d80d542fa26d764a (patch) | |
tree | 40b718f79285c839219571a9bc575314814bdccc /rpc/api/db_js.go | |
parent | 6ea28f93b99dff66471a04d24632440d6f4099db (diff) | |
download | dexon-ceb0739ba111215d47cc2ff9d80d542fa26d764a.tar dexon-ceb0739ba111215d47cc2ff9d80d542fa26d764a.tar.gz dexon-ceb0739ba111215d47cc2ff9d80d542fa26d764a.tar.bz2 dexon-ceb0739ba111215d47cc2ff9d80d542fa26d764a.tar.lz dexon-ceb0739ba111215d47cc2ff9d80d542fa26d764a.tar.xz dexon-ceb0739ba111215d47cc2ff9d80d542fa26d764a.tar.zst dexon-ceb0739ba111215d47cc2ff9d80d542fa26d764a.zip |
fixed web3 formatters mismatch
Diffstat (limited to 'rpc/api/db_js.go')
-rw-r--r-- | rpc/api/db_js.go | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/rpc/api/db_js.go b/rpc/api/db_js.go index 62cdcd20e..91dc95e5b 100644 --- a/rpc/api/db_js.go +++ b/rpc/api/db_js.go @@ -5,34 +5,6 @@ web3._extend({ property: 'db', methods: [ - new web3._extend.Method({ - name: 'getString', - call: 'db_getString', - params: 2, - inputFormatter: [web3._extend.formatters.formatInputString, web3._extend.formatters.formatInputString], - outputFormatter: web3._extend.formatters.formatOutputString - }), - new web3._extend.Method({ - name: 'putString', - call: 'db_putString', - params: 3, - inputFormatter: [web3._extend.formatters.formatInputString, web3._extend.formatters.formatInputString, web3._extend.formatters.formatInputString], - outputFormatter: web3._extend.formatters.formatOutputBool - }), - new web3._extend.Method({ - name: 'getHex', - call: 'db_getHex', - params: 2, - inputFormatter: [web3._extend.formatters.formatInputString, web3._extend.formatters.formatInputString], - outputFormatter: web3._extend.formatters.formatOutputString - }), - new web3._extend.Method({ - name: 'putHex', - call: 'db_putHex', - params: 3, - inputFormatter: [web3._extend.formatters.formatInputString, web3._extend.formatters.formatInputString, web3._extend.formatters.formatInputString], - outputFormatter: web3._extend.formatters.formatOutputBool - }), ], properties: [ |