fix: initial scan

This commit is contained in:
Rafael Saes 2024-02-27 21:33:29 -03:00
parent a44bd6b8f9
commit 477aff098c

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