mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-25 11:45:59 +00:00
ensure no rescan flag on newly created or restored firo wallets
This commit is contained in:
parent
8c91e0f3b8
commit
bd090a3e92
1 changed files with 2 additions and 5 deletions
|
@ -1896,11 +1896,7 @@ class FiroWallet extends CoinServiceAPI
|
||||||
await Future.wait([
|
await Future.wait([
|
||||||
updateCachedId(walletId),
|
updateCachedId(walletId),
|
||||||
updateCachedIsFavorite(false),
|
updateCachedIsFavorite(false),
|
||||||
DB.instance.put<dynamic>(
|
setLelantusCoinIsarRescanRequiredDone(),
|
||||||
boxName: walletId,
|
|
||||||
key: _lelantusCoinIsarRescanRequired,
|
|
||||||
value: false,
|
|
||||||
),
|
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4133,6 +4129,7 @@ class FiroWallet extends CoinServiceAPI
|
||||||
maxNumberOfIndexesToCheck,
|
maxNumberOfIndexesToCheck,
|
||||||
false,
|
false,
|
||||||
);
|
);
|
||||||
|
await setLelantusCoinIsarRescanRequiredDone();
|
||||||
|
|
||||||
await compute(
|
await compute(
|
||||||
_setTestnetWrapper,
|
_setTestnetWrapper,
|
||||||
|
|
Loading…
Reference in a new issue