tlnwatcher: fix keep_watching if the wallet was not force-closed - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 3329d9dd0ee00cbfa940f4995c84acb6ad3f97a5 DIR parent d8a992e4001a86033b3240626becc52cd5d3c871 HTML Author: ThomasV <thomasv@electrum.org> Date: Fri, 21 Feb 2020 16:35:27 +0100 lnwatcher: fix keep_watching if the wallet was not force-closed 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@@ -349,7 +349,7 @@ class LNWalletWatcher(LNWatcher): return # detect who closed and set sweep_info sweep_info_dict = chan.sweep_ctx(closing_tx) - keep_watching = False + keep_watching = False if sweep_info_dict else not self.is_deeply_mined(closing_tx.txid()) self.logger.info(f'sweep_info_dict length: {len(sweep_info_dict)}') # create and broadcast transaction for prevout, sweep_info in sweep_info_dict.items():