Browse Source

wallet.set_up_to_date: (trivial) reduce log spam

bip39-recovery
SomberNight 5 years ago
parent
commit
a1baf860b6
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 4
      electrum/address_synchronizer.py

4
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

Loading…
Cancel
Save