closes #11373
Signed-off-by: Michele Balistreri <michele@bitgamma.com> Signed-off-by: andrey <motor4ik@gmail.com>
This commit is contained in:
parent
7cef533a8a
commit
206ce8849f
|
@ -129,7 +129,7 @@
|
||||||
(let [{:keys [result error]} (types/json->clj result)
|
(let [{:keys [result error]} (types/json->clj result)
|
||||||
message (get-in db [:signing/sign :formatted-data :message])
|
message (get-in db [:signing/sign :formatted-data :message])
|
||||||
currency-contract (:currency message)]
|
currency-contract (:currency message)]
|
||||||
(when-not (or (:receiver message) (:code message))
|
(when currency-contract
|
||||||
(json-rpc/eth-call {:contract currency-contract
|
(json-rpc/eth-call {:contract currency-contract
|
||||||
:method "decimals()"
|
:method "decimals()"
|
||||||
:outputs ["uint8"]
|
:outputs ["uint8"]
|
||||||
|
|
Loading…
Reference in New Issue