prevent setting Synced status when the connection is lost

This commit is contained in:
Serhii 2024-12-18 13:18:17 +02:00
parent e4deb8455a
commit c160884dfa

View file

@ -478,6 +478,7 @@ abstract class ElectrumWalletBase
if (alwaysScan == true) {
_setListeners(walletInfo.restoreHeight);
} else {
if (syncStatus is LostConnectionSyncStatus) return;
syncStatus = SyncedSyncStatus();
}
} catch (e, stacktrace) {