ensure no rescan flag on newly created or restored firo wallets

This commit is contained in:
julian 2023-07-28 13:17:21 -06:00
parent 8c91e0f3b8
commit bd090a3e92

View file

@ -1896,11 +1896,7 @@ class FiroWallet extends CoinServiceAPI
await Future.wait([
updateCachedId(walletId),
updateCachedIsFavorite(false),
DB.instance.put<dynamic>(
boxName: walletId,
key: _lelantusCoinIsarRescanRequired,
value: false,
),
setLelantusCoinIsarRescanRequiredDone(),
]);
}
@ -4133,6 +4129,7 @@ class FiroWallet extends CoinServiceAPI
maxNumberOfIndexesToCheck,
false,
);
await setLelantusCoinIsarRescanRequiredDone();
await compute(
_setTestnetWrapper,