electrum

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

commit 5c5982d9f7736e7a6f4af85ba38bcd5be8a4f278
parent cc7ef49c43f3d6902e03068d9d7e9387becc4b27
Author: ThomasV <thomasv@electrum.org>
Date:   Sun, 23 Sep 2018 17:08:19 +0200

lnwatcher: do not assume addr_sync.synchronizer

Diffstat:
Melectrum/lnwatcher.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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)