@@ -3351,6 +3351,7 @@ impl<Signer: WriteableEcdsaChannelSigner> ChannelMonitorImpl<Signer> {
3351
3351
let mut claimable_outpoints = Vec :: new ( ) ;
3352
3352
' tx_iter: for tx in & txn_matched {
3353
3353
let txid = tx. txid ( ) ;
3354
+ log_trace ! ( logger, "Transaction id {} confirmed in block {}" , txid , block_hash) ;
3354
3355
// If a transaction has already been confirmed, ensure we don't bother processing it duplicatively.
3355
3356
if Some ( txid) == self . funding_spend_confirmed {
3356
3357
log_debug ! ( logger, "Skipping redundant processing of funding-spend tx {} as it was previously confirmed" , txid) ;
@@ -3390,8 +3391,6 @@ impl<Signer: WriteableEcdsaChannelSigner> ChannelMonitorImpl<Signer> {
3390
3391
let mut balance_spendable_csv = None ;
3391
3392
log_info ! ( logger, "Channel {} closed by funding output spend in txid {}." ,
3392
3393
& self . funding_info. 0 . to_channel_id( ) , txid) ;
3393
- // logging only that spends funding output
3394
- log_trace ! ( logger, "Transaction id {} confirmed in block {}" , txid , block_hash) ;
3395
3394
self . funding_spend_seen = true ;
3396
3395
let mut commitment_tx_to_counterparty_output = None ;
3397
3396
if ( tx. input [ 0 ] . sequence . 0 >> 8 * 3 ) as u8 == 0x80 && ( tx. lock_time . 0 >> 8 * 3 ) as u8 == 0x20 {
@@ -3440,7 +3439,6 @@ impl<Signer: WriteableEcdsaChannelSigner> ChannelMonitorImpl<Signer> {
3440
3439
if let Some ( new_outputs) = new_outputs_option {
3441
3440
watch_outputs. push ( new_outputs) ;
3442
3441
}
3443
- log_trace ! ( logger, "Transaction id {} confirmed in block {}" , commitment_txid , block_hash) ;
3444
3442
// Since there may be multiple HTLCs for this channel (all spending the
3445
3443
// same commitment tx) being claimed by the counterparty within the same
3446
3444
// transaction, and `check_spend_counterparty_htlc` already checks all the
0 commit comments