tlnwatcher: wait until lnwatcher is fully synchronized before check_onchain_situation - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit c7b9bdc5f5000ef26aa15d8f04c02d53fe56f29e DIR parent a8ce8109bea4210c821e1757f97d398a8c9103b4 HTML Author: ThomasV <thomasv@electrum.org> Date: Mon, 1 Jul 2019 20:26:58 +0200 lnwatcher: wait until lnwatcher is fully synchronized before check_onchain_situation Diffstat: M electrum/lnwatcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/electrum/lnwatcher.py b/electrum/lnwatcher.py t@@ -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)