mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-03-21 06:38:49 +00:00
Revert part of the Haven change
This commit is contained in:
parent
c9726403ec
commit
2a48d645ae
1 changed files with 4 additions and 0 deletions
|
@ -66,6 +66,10 @@ void startCurrentWalletChangeReaction(AppStore appStore,
|
||||||
PreferencesKey.currentWalletType, serializeToInt(wallet.type));
|
PreferencesKey.currentWalletType, serializeToInt(wallet.type));
|
||||||
await wallet.connectToNode(node: node);
|
await wallet.connectToNode(node: node);
|
||||||
|
|
||||||
|
if (wallet.type == WalletType.haven) {
|
||||||
|
await updateHavenRate(fiatConversionStore);
|
||||||
|
}
|
||||||
|
|
||||||
if (wallet.walletInfo.address?.isEmpty ?? true) {
|
if (wallet.walletInfo.address?.isEmpty ?? true) {
|
||||||
wallet.walletInfo.address = wallet.walletAddresses.address;
|
wallet.walletInfo.address = wallet.walletAddresses.address;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue