mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-04 12:55:03 +00:00
Add ability to input comma in gas inputs
This commit is contained in:
parent
c6130ed650
commit
06650aecbb
@ -30,7 +30,7 @@
|
|||||||
(defn bignumber [n]
|
(defn bignumber [n]
|
||||||
(when n
|
(when n
|
||||||
(try
|
(try
|
||||||
(dependencies/Web3.prototype.toBigNumber (str n))
|
(dependencies/Web3.prototype.toBigNumber (normalize (str n)))
|
||||||
(catch :default err nil))))
|
(catch :default err nil))))
|
||||||
|
|
||||||
(defn valid? [bn]
|
(defn valid? [bn]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user