(trivial) reduce log spam during ln-channel-open
This commit is contained in:
@@ -1647,7 +1647,7 @@ class Channel(AbstractChannel):
|
|||||||
funding_idx = self.funding_outpoint.output_index
|
funding_idx = self.funding_outpoint.output_index
|
||||||
conf = funding_height.conf
|
conf = funding_height.conf
|
||||||
if conf < self.funding_txn_minimum_depth():
|
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
|
return False
|
||||||
assert conf > 0
|
assert conf > 0
|
||||||
# check funding_tx amount and script
|
# check funding_tx amount and script
|
||||||
|
|||||||
@@ -212,7 +212,7 @@ class LNWatcher(Logger, EventListener):
|
|||||||
if not self.adb.is_mine(address):
|
if not self.adb.is_mine(address):
|
||||||
return
|
return
|
||||||
spenders = self.inspect_tx_candidate(funding_outpoint, 0)
|
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():
|
if not self.adb.is_up_to_date():
|
||||||
return
|
return
|
||||||
funding_txid = funding_outpoint.split(':')[0]
|
funding_txid = funding_outpoint.split(':')[0]
|
||||||
|
|||||||
@@ -1945,7 +1945,7 @@ class PartialTransaction(Transaction):
|
|||||||
break
|
break
|
||||||
if pubkey not in keypairs:
|
if pubkey not in keypairs:
|
||||||
continue
|
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]
|
sec, compressed = keypairs[pubkey]
|
||||||
sig = self.sign_txin(i, sec, bip143_shared_txdigest_fields=bip143_shared_txdigest_fields)
|
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)
|
self.add_signature_to_txin(txin_idx=i, signing_pubkey=pubkey, sig=sig)
|
||||||
|
|||||||
Reference in New Issue
Block a user