1
0

lnwatcher: cleanup unused code

This commit is contained in:
ThomasV
2025-05-06 09:31:34 +02:00
parent d9d86f475f
commit 855aff7c44

View File

@@ -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: