Revert part of the Haven change

This commit is contained in:
Justin Ehrenhofer 2023-03-02 17:47:10 -06:00
parent c9726403ec
commit 2a48d645ae

View file

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