ensure wallet is saved after walletInfo is created (#3101)
malik1004x committed
Mar 19, 2026 at 21:15 UTC
c9b69b88b8fe9e4bc9c17cf7dd46256581a410f9
1 file changed
+1
lib/view_model/wallet_creation_vm.dart
+1
@@ -131,6 +131,7 @@ abstract class WalletCreationVMBase with Store {
131
credentials.walletInfo!.hashedWalletIdentifier = createHashedWalletIdentifier(wallet);
132
credentials.walletInfo!.address = wallet.walletAddresses.address;
133
await credentials.walletInfo!.save();
134
+ await wallet.save();
135
await _appStore.changeCurrentWallet(wallet);
136
_appStore.authenticationStore.allowedCreate();
137
state = ExecutedSuccessfullyState();