fixed web3 formatters mismatch
This commit is contained in:
committed by
Jeffrey Wilcke
parent
6ea28f93b9
commit
ceb0739ba1
@@ -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'
|
||||
})
|
||||
]
|
||||
});
|
||||
|
Reference in New Issue
Block a user