Browse Source

lnwatcher: wait until lnwatcher is fully synchronized before check_onchain_situation

dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
ThomasV 6 years ago
parent
commit
c7b9bdc5f5
  1. 2
      electrum/lnwatcher.py

2
electrum/lnwatcher.py

@ -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…
Cancel
Save