mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 00:41:31 +00:00
wallet.set_up_to_date: (trivial) reduce log spam
This commit is contained in:
parent
67a5f2e09a
commit
a1baf860b6
1 changed files with 3 additions and 1 deletions
|
@ -617,9 +617,11 @@ class AddressSynchronizer(Logger):
|
||||||
|
|
||||||
def set_up_to_date(self, up_to_date):
|
def set_up_to_date(self, up_to_date):
|
||||||
with self.lock:
|
with self.lock:
|
||||||
|
status_changed = self.up_to_date != up_to_date
|
||||||
self.up_to_date = up_to_date
|
self.up_to_date = up_to_date
|
||||||
if self.network:
|
if self.network:
|
||||||
self.network.notify('status')
|
self.network.notify('status')
|
||||||
|
if status_changed:
|
||||||
self.logger.info(f'set_up_to_date: {up_to_date}')
|
self.logger.info(f'set_up_to_date: {up_to_date}')
|
||||||
|
|
||||||
def is_up_to_date(self):
|
def is_up_to_date(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue