Add ability to input comma in gas inputs

This commit is contained in:
Stepan Lusnikov 2018-04-25 15:18:46 +08:00 committed by Roman Volosovskyi
parent c6130ed650
commit 06650aecbb
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 1 additions and 1 deletions

View File

@ -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]