resources, commands.js, replace() comma to period
This commit is contained in:
parent
3437f79d82
commit
7f2059070b
|
@ -918,7 +918,7 @@ status.command({
|
|||
},
|
||||
validator: function(params) {
|
||||
try {
|
||||
var val = web3.toWei(params.amount, "ether");
|
||||
var val = web3.toWei(params.amount.replace(",", "."), "ether");
|
||||
if (val <= 0) { throw new Error(); }
|
||||
} catch (err) {
|
||||
return {
|
||||
|
|
Loading…
Reference in New Issue