lnwatcher: cleanup unused code
This commit is contained in:
@@ -221,10 +221,8 @@ class LNWatcher(Logger, EventListener):
|
|||||||
# always consider ours
|
# always consider ours
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
privkey = sweep_info.txin.privkey
|
|
||||||
witness = txin.witness_elements()
|
witness = txin.witness_elements()
|
||||||
for sig in witness:
|
for sig in witness:
|
||||||
sig = witness[0]
|
|
||||||
# fixme: verify sig is ours
|
# fixme: verify sig is ours
|
||||||
witness2 = sweep_info.txin.make_witness(sig)
|
witness2 = sweep_info.txin.make_witness(sig)
|
||||||
if txin.witness == witness2:
|
if txin.witness == witness2:
|
||||||
|
|||||||
Reference in New Issue
Block a user