[skip ci] Remove Haven USD hardcode
Justin Ehrenhofer committed
Feb 28, 2023 at 10:03 UTC
dfcdfd87d18092788a4580cab1f2240588c6c28c
1 file changed
-5
lib/reactions/on_current_wallet_change.dart
-5
@@ -66,11 +66,6 @@ void startCurrentWalletChangeReaction(AppStore appStore,
66
PreferencesKey.currentWalletType, serializeToInt(wallet.type));
67
await wallet.connectToNode(node: node);
68
69
- if (wallet.type == WalletType.haven) {
70
- settingsStore.fiatCurrency = FiatCurrency.usd;
71
- await updateHavenRate(fiatConversionStore);
72
- }
73
-
69
if (wallet.walletInfo.address?.isEmpty ?? true) {
70
wallet.walletInfo.address = wallet.walletAddresses.address;
71