This commit is contained in:
Eric Dvorsak 2018-01-09 11:38:48 +01:00
parent c0ba70c28a
commit 7685b43049
No known key found for this signature in database
GPG Key ID: 932AC1CE5F05DE0C
1 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@
(handlers/register-handler-fx (handlers/register-handler-fx
:update-wallet :update-wallet
(fn [{{:keys [web3 accounts/current-account-id network network-status] :as db} :db} [_ symbols]] (fn [{{:keys [web3 accounts/current-account-id network network-status] :as db} :db} [_ symbols]]
(when-not (= network-status :offline) (when (not= network-status :offline)
{:get-balance {:web3 web3 {:get-balance {:web3 web3
:account-id current-account-id :account-id current-account-id
:success-event :update-balance-success :success-event :update-balance-success
@ -111,7 +111,7 @@
(handlers/register-handler-fx (handlers/register-handler-fx
:update-transactions :update-transactions
(fn [{{:keys [accounts/current-account-id network network-status] :as db} :db} _] (fn [{{:keys [accounts/current-account-id network network-status] :as db} :db} _]
(when-not (= network-status :offline) (when (not= network-status :offline)
{:get-transactions {:account-id current-account-id {:get-transactions {:account-id current-account-id
:network network :network network
:success-event :update-transactions-success :success-event :update-transactions-success