ensure wallet is saved after walletInfo is created (#3101)

This commit is contained in:
malik1004x
2026-03-19 21:15:24 +01:00
committed by GitHub
parent a8d9f0877b
commit c9b69b88b8
+1
View File
@@ -131,6 +131,7 @@ abstract class WalletCreationVMBase with Store {
credentials.walletInfo!.hashedWalletIdentifier = createHashedWalletIdentifier(wallet);
credentials.walletInfo!.address = wallet.walletAddresses.address;
await credentials.walletInfo!.save();
await wallet.save();
await _appStore.changeCurrentWallet(wallet);
_appStore.authenticationStore.allowedCreate();
state = ExecutedSuccessfullyState();