Revert part of the Haven change
Justin Ehrenhofer committed
Mar 2, 2023 at 17:47 UTC
2a48d645aec2a6ab229134097e335dc09b5141e4
1 file changed
+4
lib/reactions/on_current_wallet_change.dart
+4
@@ -66,6 +66,10 @@ void startCurrentWalletChangeReaction(AppStore appStore,
66
PreferencesKey.currentWalletType, serializeToInt(wallet.type));
67
await wallet.connectToNode(node: node);
68
69
+ if (wallet.type == WalletType.haven) {
70
+ await updateHavenRate(fiatConversionStore);
71
+ }
72
+
73
if (wallet.walletInfo.address?.isEmpty ?? true) {
74
wallet.walletInfo.address = wallet.walletAddresses.address;
75