[fix 8054] network in app-db is not always correct
- when login in after a different account using a different network the new account inherited the network from the previous one - this fixes it by using the account network when initializing app-db instead of reusing current network Signed-off-by: yenda <eric@status.im>
This commit is contained in:
parent
aea761f314
commit
d383051737
|
@ -188,7 +188,7 @@
|
||||||
:accounts/accounts accounts
|
:accounts/accounts accounts
|
||||||
:mailserver/mailservers mailservers
|
:mailserver/mailservers mailservers
|
||||||
:network-status network-status
|
:network-status network-status
|
||||||
:network network
|
:network account-network
|
||||||
:network/type (:network/type db)
|
:network/type (:network/type db)
|
||||||
:chain (ethereum/network->chain-name account-network)
|
:chain (ethereum/network->chain-name account-network)
|
||||||
:universal-links/url url
|
:universal-links/url url
|
||||||
|
@ -270,4 +270,3 @@
|
||||||
(re-frame/reg-fx
|
(re-frame/reg-fx
|
||||||
:init/reset-account-data
|
:init/reset-account-data
|
||||||
reset-account-data!)
|
reset-account-data!)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue