mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-03 09:29:48 +00:00
prevent setting Synced status when the connection is lost
This commit is contained in:
parent
e4deb8455a
commit
c160884dfa
1 changed files with 1 additions and 0 deletions
|
@ -478,6 +478,7 @@ abstract class ElectrumWalletBase
|
|||
if (alwaysScan == true) {
|
||||
_setListeners(walletInfo.restoreHeight);
|
||||
} else {
|
||||
if (syncStatus is LostConnectionSyncStatus) return;
|
||||
syncStatus = SyncedSyncStatus();
|
||||
}
|
||||
} catch (e, stacktrace) {
|
||||
|
|
Loading…
Reference in a new issue