mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-16 17:27:37 +00:00
fix: do not change syncstatus when scanning status is enabled
This commit is contained in:
parent
40496fbfe7
commit
9bd4c812e8
1 changed files with 4 additions and 0 deletions
|
@ -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 = {};
|
||||
|
|
Loading…
Reference in a new issue