From 06650aecbbb1e8c2a57ee70c72c69dd5ce23d1ba Mon Sep 17 00:00:00 2001 From: Stepan Lusnikov Date: Wed, 25 Apr 2018 15:18:46 +0800 Subject: [PATCH] Add ability to input comma in gas inputs --- src/status_im/utils/money.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_im/utils/money.cljs b/src/status_im/utils/money.cljs index 2e2c40117e..846a5e4ef9 100644 --- a/src/status_im/utils/money.cljs +++ b/src/status_im/utils/money.cljs @@ -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]