disable syncing of newly created view only wallet without entering the wallet first

This commit is contained in:
julian 2024-11-14 15:31:43 -06:00 committed by julian-CStack
parent 1d22eed7c4
commit f2a654e1e5

View file

@ -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),