From c9b69b88b8fe9e4bc9c17cf7dd46256581a410f9 Mon Sep 17 00:00:00 2001 From: malik1004x Date: Thu, 19 Mar 2026 21:15:24 +0100 Subject: [PATCH] ensure wallet is saved after walletInfo is created (#3101) --- lib/view_model/wallet_creation_vm.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/view_model/wallet_creation_vm.dart b/lib/view_model/wallet_creation_vm.dart index 50f430ad4..b2d01b396 100644 --- a/lib/view_model/wallet_creation_vm.dart +++ b/lib/view_model/wallet_creation_vm.dart @@ -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();