electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit c7b9bdc5f5000ef26aa15d8f04c02d53fe56f29e
parent a8ce8109bea4210c821e1757f97d398a8c9103b4
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:
Melectrum/lnwatcher.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/electrum/lnwatcher.py b/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)