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…
Reference in New Issue