mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-18 16:44:32 +00:00
disable syncing of newly created view only wallet without entering the wallet first
This commit is contained in:
parent
1d22eed7c4
commit
f2a654e1e5
1 changed files with 4 additions and 0 deletions
|
@ -188,6 +188,8 @@ class _VerifyRecoveryPhraseViewState
|
|||
final address = info.$1;
|
||||
final privateViewKey = info.$2;
|
||||
|
||||
await w.exit();
|
||||
|
||||
viewOnlyData = CryptonoteViewOnlyWalletData(
|
||||
walletId: voInfo.walletId,
|
||||
address: address,
|
||||
|
@ -236,6 +238,8 @@ class _VerifyRecoveryPhraseViewState
|
|||
|
||||
ref.read(pWallets).addWallet(voWallet);
|
||||
|
||||
await voWallet.exit();
|
||||
|
||||
await ref.read(pWallets).deleteWallet(
|
||||
widget.wallet.info,
|
||||
ref.read(secureStoreProvider),
|
||||
|
|
Loading…
Reference in a new issue