fix: initial scan

This commit is contained in:
Rafael Saes 2024-02-27 21:36:56 -03:00
parent 477aff098c
commit f58fca3020

View file

@ -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);
}
}