[#13220] ENS warning is not shown for affected multiaccounts after upgrade

Signed-off-by: andrey <motor4ik@gmail.com>
This commit is contained in:
andrey 2022-03-28 12:09:20 +02:00
parent 79a5dcf61a
commit d2bec183fd
No known key found for this signature in database
GPG Key ID: 89B67245FD2F0272
1 changed files with 1 additions and 1 deletions

View File

@ -143,13 +143,13 @@
{:events [::initialize-wallet]} {:events [::initialize-wallet]}
[{:keys [db] :as cofx} accounts tokens custom-tokens [{:keys [db] :as cofx} accounts tokens custom-tokens
favourites scan-all-tokens? new-account?] favourites scan-all-tokens? new-account?]
(check-invalid-ens cofx)
(fx/merge (fx/merge
cofx cofx
{:db (assoc db :multiaccount/accounts {:db (assoc db :multiaccount/accounts
(rpc->accounts accounts)) (rpc->accounts accounts))
;; NOTE: Local notifications should be enabled only after wallet was started ;; NOTE: Local notifications should be enabled only after wallet was started
::enable-local-notifications nil} ::enable-local-notifications nil}
(check-invalid-ens)
(wallet/initialize-tokens tokens custom-tokens) (wallet/initialize-tokens tokens custom-tokens)
(wallet/initialize-favourites favourites) (wallet/initialize-favourites favourites)
(wallet/get-pending-transactions) (wallet/get-pending-transactions)