[#9061] Fix balances fetching of a new keycard account
This issue wasn't properly fixed for a newly created account, balance was properly fetched only after re-login.
This commit is contained in:
parent
f330392ccf
commit
5a408f1613
|
@ -22,7 +22,8 @@
|
||||||
[status-im.constants :as constants]
|
[status-im.constants :as constants]
|
||||||
[status-im.multiaccounts.update.core :as multiaccounts.update]
|
[status-im.multiaccounts.update.core :as multiaccounts.update]
|
||||||
[status-im.ui.components.bottom-sheet.core :as bottom-sheet]
|
[status-im.ui.components.bottom-sheet.core :as bottom-sheet]
|
||||||
[status-im.multiaccounts.recover.core :as recover]))
|
[status-im.multiaccounts.recover.core :as recover]
|
||||||
|
[status-im.ethereum.eip55 :as eip55]))
|
||||||
|
|
||||||
(def default-pin "000000")
|
(def default-pin "000000")
|
||||||
|
|
||||||
|
@ -1747,10 +1748,12 @@
|
||||||
(assoc-in [:hardwallet :setup-step] nil)
|
(assoc-in [:hardwallet :setup-step] nil)
|
||||||
(assoc :intro-wizard nil))}
|
(assoc :intro-wizard nil))}
|
||||||
(multiaccounts.create/on-multiaccount-created
|
(multiaccounts.create/on-multiaccount-created
|
||||||
{:derived {constants/path-whisper-keyword {:publicKey whisper-public-key
|
{:derived {constants/path-whisper-keyword
|
||||||
:address whisper-address}
|
{:publicKey whisper-public-key
|
||||||
constants/path-default-wallet-keyword {:publicKey wallet-public-key
|
:address (eip55/address->checksum whisper-address)}
|
||||||
:address wallet-address}}
|
constants/path-default-wallet-keyword
|
||||||
|
{:publicKey wallet-public-key
|
||||||
|
:address (eip55/address->checksum wallet-address)}}
|
||||||
:mnemonic ""
|
:mnemonic ""
|
||||||
:address address
|
:address address
|
||||||
:publicKey public-key
|
:publicKey public-key
|
||||||
|
|
Loading…
Reference in New Issue