Browse Source

lnwatcher: a bit less verbose

patch-4
ThomasV 3 years ago
parent
commit
672326bd12
  1. 6
      electrum/lnwatcher.py

6
electrum/lnwatcher.py

@ -253,9 +253,11 @@ class LNWatcher(AddressSynchronizer):
witness = o.witness_elements()
redeem_script = witness[-1]
if match_script_against_template(redeem_script, WITNESS_TEMPLATE_OFFERED_HTLC):
self.logger.info(f"input script matches offered htlc {redeem_script.hex()}")
#self.logger.info(f"input script matches offered htlc {redeem_script.hex()}")
pass
elif match_script_against_template(redeem_script, WITNESS_TEMPLATE_RECEIVED_HTLC):
self.logger.info(f"input script matches received htlc {redeem_script.hex()}")
#self.logger.info(f"input script matches received htlc {redeem_script.hex()}")
pass
else:
return result
for i, o in enumerate(spender_tx.outputs()):

Loading…
Cancel
Save