aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/miner_js.go
diff options
context:
space:
mode:
authorBas van Kervel <bas@ethdev.com>2015-07-06 21:59:36 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-07-07 17:30:23 +0800
commit7e6c1f8024d0cc0f381c615cab3c97b57fc9515e (patch)
treee9eee95bdf3a6ca55b39328d7dc2a32d18a8e31e /rpc/api/miner_js.go
parentceb0739ba111215d47cc2ff9d80d542fa26d764a (diff)
downloaddexon-7e6c1f8024d0cc0f381c615cab3c97b57fc9515e.tar.gz
dexon-7e6c1f8024d0cc0f381c615cab3c97b57fc9515e.tar.zst
dexon-7e6c1f8024d0cc0f381c615cab3c97b57fc9515e.zip
corrected input formatters as suggested during review
Diffstat (limited to 'rpc/api/miner_js.go')
-rw-r--r--rpc/api/miner_js.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/api/miner_js.go b/rpc/api/miner_js.go
index 6474166e7..8861a177a 100644
--- a/rpc/api/miner_js.go
+++ b/rpc/api/miner_js.go
@@ -27,7 +27,7 @@ web3._extend({
name: 'setGasPrice',
call: 'miner_setGasPrice',
params: 1,
- inputFormatter: [null]
+ inputFormatter: [web3._extend.utils.fromDecial]
}),
new web3._extend.Method({
name: 'startAutoDAG',