diff --git a/resources/commands.js b/resources/commands.js index a6e775bf66..2e9241e633 100644 --- a/resources/commands.js +++ b/resources/commands.js @@ -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 {