From 855aff7c4428faa8e0cb51b26a097110cbfcf8d7 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 6 May 2025 09:31:34 +0200 Subject: [PATCH] lnwatcher: cleanup unused code --- electrum/lnwatcher.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/electrum/lnwatcher.py b/electrum/lnwatcher.py index 8bd27b008..27958f11d 100644 --- a/electrum/lnwatcher.py +++ b/electrum/lnwatcher.py @@ -221,10 +221,8 @@ class LNWatcher(Logger, EventListener): # always consider ours pass else: - privkey = sweep_info.txin.privkey witness = txin.witness_elements() for sig in witness: - sig = witness[0] # fixme: verify sig is ours witness2 = sweep_info.txin.make_witness(sig) if txin.witness == witness2: