From 118db7831ddc7c70f81088216976078871e88ef1 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sun, 23 Sep 2018 17:08:19 +0200 Subject: [PATCH] lnwatcher: do not assume addr_sync.synchronizer --- electrum/lnwatcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/lnwatcher.py b/electrum/lnwatcher.py index 136d37f19..631f7e562 100644 --- a/electrum/lnwatcher.py +++ b/electrum/lnwatcher.py @@ -141,7 +141,7 @@ class LNWatcher(PrintError): def watch_address(self, addr): with self.lock: self.watched_addresses.add(addr) - self.addr_sync.synchronizer.add(addr) + self.addr_sync.add_address(addr) async def check_onchain_situation(self, funding_outpoint): ctx_candidate_txid = self.addr_sync.spent_outpoints[funding_outpoint.txid].get(funding_outpoint.output_index)