1
0

(trivial) reduce log spam during ln-channel-open

This commit is contained in:
SomberNight
2023-03-09 15:18:09 +00:00
parent 1210ef5f81
commit 62ab6d9702
3 changed files with 3 additions and 3 deletions

View File

@@ -1647,7 +1647,7 @@ class Channel(AbstractChannel):
funding_idx = self.funding_outpoint.output_index
conf = funding_height.conf
if conf < self.funding_txn_minimum_depth():
self.logger.info(f"funding tx is still not at sufficient depth. actual depth: {conf}")
#self.logger.info(f"funding tx is still not at sufficient depth. actual depth: {conf}")
return False
assert conf > 0
# check funding_tx amount and script

View File

@@ -212,7 +212,7 @@ class LNWatcher(Logger, EventListener):
if not self.adb.is_mine(address):
return
spenders = self.inspect_tx_candidate(funding_outpoint, 0)
# inspect_tx_candidate might have added new addresses, in which case we return ealy
# inspect_tx_candidate might have added new addresses, in which case we return early
if not self.adb.is_up_to_date():
return
funding_txid = funding_outpoint.split(':')[0]

View File

@@ -1945,7 +1945,7 @@ class PartialTransaction(Transaction):
break
if pubkey not in keypairs:
continue
_logger.info(f"adding signature for {pubkey}")
_logger.info(f"adding signature for {pubkey}. spending utxo {txin.prevout.to_str()}")
sec, compressed = keypairs[pubkey]
sig = self.sign_txin(i, sec, bip143_shared_txdigest_fields=bip143_shared_txdigest_fields)
self.add_signature_to_txin(txin_idx=i, signing_pubkey=pubkey, sig=sig)