[skip ci] Remove Haven USD hardcode

This commit is contained in:
Justin Ehrenhofer 2023-02-28 10:03:31 -06:00
parent 7ba88699d4
commit dfcdfd87d1

View file

@ -66,11 +66,6 @@ void startCurrentWalletChangeReaction(AppStore appStore,
PreferencesKey.currentWalletType, serializeToInt(wallet.type));
await wallet.connectToNode(node: node);
if (wallet.type == WalletType.haven) {
settingsStore.fiatCurrency = FiatCurrency.usd;
await updateHavenRate(fiatConversionStore);
}
if (wallet.walletInfo.address?.isEmpty ?? true) {
wallet.walletInfo.address = wallet.walletAddresses.address;