fixed web3 formatters mismatch

This commit is contained in:
Bas van Kervel
2015-07-06 13:08:08 +02:00
committed by Jeffrey Wilcke
parent 6ea28f93b9
commit ceb0739ba1
9 changed files with 75 additions and 176 deletions

View File

@@ -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'
})
]
});