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/ssh_js.go | |
parent | 6ea28f93b99dff66471a04d24632440d6f4099db (diff) | |
download | dexon-ceb0739ba111215d47cc2ff9d80d542fa26d764a.tar.gz dexon-ceb0739ba111215d47cc2ff9d80d542fa26d764a.tar.zst dexon-ceb0739ba111215d47cc2ff9d80d542fa26d764a.zip |
fixed web3 formatters mismatch
Diffstat (limited to 'rpc/api/ssh_js.go')
-rw-r--r-- | rpc/api/ssh_js.go | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/rpc/api/ssh_js.go b/rpc/api/ssh_js.go index f401f70f1..c0591bd71 100644 --- a/rpc/api/ssh_js.go +++ b/rpc/api/ssh_js.go @@ -5,25 +5,13 @@ web3._extend({ property: 'shh', methods: [ - new web3._extend.Method({ - name: 'post', - call: 'shh_post', - params: 6, - inputFormatter: [web3._extend.formatters.formatInputString, - web3._extend.formatters.formatInputString, - web3._extend.formatters.formatInputString, - , - , web3._extend.formatters.formatInputInt - , web3._extend.formatters.formatInputInt], - outputFormatter: web3._extend.formatters.formatOutputBool - }), + ], properties: [ new web3._extend.Property({ name: 'version', - getter: 'shh_version', - outputFormatter: web3._extend.formatters.formatOutputInt + getter: 'shh_version' }) ] }); |