corrected input formatters as suggested during review

This commit is contained in:
Bas van Kervel
2015-07-06 15:59:36 +02:00
committed by Jeffrey Wilcke
parent ceb0739ba1
commit 7e6c1f8024
6 changed files with 4 additions and 24 deletions

View File

@ -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',