mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
lnwatcher: wait until lnwatcher is fully synchronized before check_onchain_situation
This commit is contained in:
parent
a8ce8109be
commit
c7b9bdc5f5
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ class LNWatcher(AddressSynchronizer):
|
|||
if not self.synchronizer:
|
||||
self.logger.info("synchronizer not set yet")
|
||||
return
|
||||
if not self.synchronizer.is_up_to_date():
|
||||
if not self.up_to_date:
|
||||
return
|
||||
for address, outpoint in await self.sweepstore.list_channel_info():
|
||||
await self.check_onchain_situation(address, outpoint)
|
||||
|
|
Loading…
Add table
Reference in a new issue