From 206ce8849fdc52d493ab10043e90181a167d3934 Mon Sep 17 00:00:00 2001 From: Michele Balistreri Date: Thu, 5 Nov 2020 13:00:13 +0100 Subject: [PATCH] closes #11373 Signed-off-by: Michele Balistreri Signed-off-by: andrey --- src/status_im/keycard/sign.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_im/keycard/sign.cljs b/src/status_im/keycard/sign.cljs index a840d76b9c..77bb37db22 100644 --- a/src/status_im/keycard/sign.cljs +++ b/src/status_im/keycard/sign.cljs @@ -129,7 +129,7 @@ (let [{:keys [result error]} (types/json->clj result) message (get-in db [:signing/sign :formatted-data :message]) currency-contract (:currency message)] - (when-not (or (:receiver message) (:code message)) + (when currency-contract (json-rpc/eth-call {:contract currency-contract :method "decimals()" :outputs ["uint8"]