Skip to content

Commit f8dd644

Browse files
committed
Log full signed remote commitment transaction hex in channel
This is useful when rebuilding the full_stack_target test vector
1 parent 0e3cc81 commit f8dd644

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning/src/ln/channel.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -4087,7 +4087,8 @@ impl<Signer: Sign> Channel<Signer> {
40874087
signature = res.0;
40884088
htlc_signatures = res.1;
40894089

4090-
log_trace!(logger, "Signed remote commitment tx {} with redeemscript {} -> {}",
4090+
log_trace!(logger, "Signed remote commitment tx {} (txid {}) with redeemscript {} -> {}",
4091+
encode::serialize_hex(&counterparty_commitment_tx.0.trust().built_transaction().transaction),
40914092
&counterparty_commitment_txid,
40924093
encode::serialize_hex(&self.get_funding_redeemscript()),
40934094
log_bytes!(signature.serialize_compact()[..]));

0 commit comments

Comments
 (0)