[#9962] Update prices in fiat more frequently

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
Andrey Shovkoplyas 2020-03-20 15:56:02 +01:00
parent 1e44b433c5
commit 2272fafc05
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4

View File

@ -189,13 +189,12 @@
:formatted-data (if typed? (types/json->clj data) (ethereum/hex-to-utf8 data))})}
(fx/merge
cofx
{:db
(assoc updated-db
:signing/in-progress? true
:signing/queue (drop-last queue)
:signing/tx (prepare-tx updated-db tx))
:dismiss-keyboard
nil}
{:db (assoc updated-db
:signing/in-progress? true
:signing/queue (drop-last queue)
:signing/tx (prepare-tx updated-db tx))
:dismiss-keyboard nil
:dispatch [:wallet.ui/pull-to-refresh]} ;;TODO fix for v.1.2
#(when-not gas
{:db (assoc-in (:db %) [:signing/edit-fee :gas-loading?] true)
:signing/update-estimated-gas {:obj tx-obj