fix: do not change syncstatus when scanning status is enabled

This commit is contained in:
Rafael Saes 2024-08-15 18:03:02 -03:00
parent 40496fbfe7
commit 9bd4c812e8

View file

@ -1917,6 +1917,10 @@ abstract class ElectrumWalletBase
}
void _syncStatusReaction(SyncStatus syncStatus) async {
if (syncStatus is SyncingSyncStatus) {
return;
}
if (syncStatus is NotConnectedSyncStatus) {
// Needs to re-subscribe to all scripthashes when reconnected
_scripthashesUpdateSubject = {};