mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
ensure wallet is saved after walletInfo is created (#3101)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user