From bd090a3e9224f6eba25e45ffa2ea30bc9ca15dfd Mon Sep 17 00:00:00 2001 From: julian Date: Fri, 28 Jul 2023 13:17:21 -0600 Subject: [PATCH] ensure no rescan flag on newly created or restored firo wallets --- lib/services/coins/firo/firo_wallet.dart | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/services/coins/firo/firo_wallet.dart b/lib/services/coins/firo/firo_wallet.dart index 0e83c3bf8..556a8a606 100644 --- a/lib/services/coins/firo/firo_wallet.dart +++ b/lib/services/coins/firo/firo_wallet.dart @@ -1896,11 +1896,7 @@ class FiroWallet extends CoinServiceAPI await Future.wait([ updateCachedId(walletId), updateCachedIsFavorite(false), - DB.instance.put( - boxName: walletId, - key: _lelantusCoinIsarRescanRequired, - value: false, - ), + setLelantusCoinIsarRescanRequiredDone(), ]); } @@ -4133,6 +4129,7 @@ class FiroWallet extends CoinServiceAPI maxNumberOfIndexesToCheck, false, ); + await setLelantusCoinIsarRescanRequiredDone(); await compute( _setTestnetWrapper,