Browse Source
wallet.set_up_to_date: (trivial) reduce log spam
bip39-recovery
SomberNight
5 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
3 additions and
1 deletions
-
electrum/address_synchronizer.py
|
|
@ -617,10 +617,12 @@ class AddressSynchronizer(Logger): |
|
|
|
|
|
|
|
def set_up_to_date(self, up_to_date): |
|
|
|
with self.lock: |
|
|
|
status_changed = self.up_to_date != up_to_date |
|
|
|
self.up_to_date = up_to_date |
|
|
|
if self.network: |
|
|
|
self.network.notify('status') |
|
|
|
self.logger.info(f'set_up_to_date: {up_to_date}') |
|
|
|
if status_changed: |
|
|
|
self.logger.info(f'set_up_to_date: {up_to_date}') |
|
|
|
|
|
|
|
def is_up_to_date(self): |
|
|
|
with self.lock: return self.up_to_date |
|
|
|