From: Matt Corallo Date: Fri, 19 Feb 2021 01:02:06 +0000 (-0500) Subject: Log full signed remote commitment transaction hex in channel X-Git-Tag: v0.0.13~18^2~1 X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=rust-lightning;a=commitdiff_plain;h=c5c0abb88dab1fc1bf90ea9925fc5852946a1a10 Log full signed remote commitment transaction hex in channel This is useful when rebuilding the full_stack_target test vector --- diff --git a/lightning/src/ln/channel.rs b/lightning/src/ln/channel.rs index 1fc0d8b3..d9c7fc5a 100644 --- a/lightning/src/ln/channel.rs +++ b/lightning/src/ln/channel.rs @@ -4087,7 +4087,8 @@ impl Channel { 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()[..]));