mirror of
https://github.com/status-im/status-react.git
synced 2025-01-10 19:16:59 +00:00
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…
x
Reference in New Issue
Block a user