mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +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 {
|
void _syncStatusReaction(SyncStatus syncStatus) async {
|
||||||
|
if (syncStatus is SyncingSyncStatus) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (syncStatus is NotConnectedSyncStatus) {
|
if (syncStatus is NotConnectedSyncStatus) {
|
||||||
// Needs to re-subscribe to all scripthashes when reconnected
|
// Needs to re-subscribe to all scripthashes when reconnected
|
||||||
_scripthashesUpdateSubject = {};
|
_scripthashesUpdateSubject = {};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue