Add ability to input comma in gas inputs
This commit is contained in:
parent
c6130ed650
commit
06650aecbb
|
@ -30,7 +30,7 @@
|
|||
(defn bignumber [n]
|
||||
(when n
|
||||
(try
|
||||
(dependencies/Web3.prototype.toBigNumber (str n))
|
||||
(dependencies/Web3.prototype.toBigNumber (normalize (str n)))
|
||||
(catch :default err nil))))
|
||||
|
||||
(defn valid? [bn]
|
||||
|
|
Loading…
Reference in New Issue