Log full signed remote commitment transaction hex in channel
[rust-lightning] / lightning / src / ln / channel.rs
index 1fc0d8b3cd6bb263b859886e1463c294495e194f..d9c7fc5ad27b049d24dbe55882c3a21a0fc983ca 100644 (file)
@@ -4087,7 +4087,8 @@ impl<Signer: Sign> Channel<Signer> {
                        signature = res.0;
                        htlc_signatures = res.1;
 
-                       log_trace!(logger, "Signed remote commitment tx {} with redeemscript {} -> {}",
+                       log_trace!(logger, "Signed remote commitment tx {} (txid {}) with redeemscript {} -> {}",
+                               encode::serialize_hex(&counterparty_commitment_tx.0.trust().built_transaction().transaction),
                                &counterparty_commitment_txid,
                                encode::serialize_hex(&self.get_funding_redeemscript()),
                                log_bytes!(signature.serialize_compact()[..]));