mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +00:00
fix: initial scan
This commit is contained in:
parent
a44bd6b8f9
commit
477aff098c
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ abstract class ElectrumWalletBase
|
|||
await _setInitialHeight();
|
||||
} catch (_) {}
|
||||
|
||||
if ((currentChainTip ?? 0) > walletInfo.restoreHeight) {
|
||||
if ((currentChainTip ?? 0) <= walletInfo.restoreHeight) {
|
||||
_setListeners(walletInfo.restoreHeight, chainTip: currentChainTip);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue