From b7b83b2c46d56e5b2a4ac42ab89661043dac033f Mon Sep 17 00:00:00 2001 From: optout <13562139+optout21@users.noreply.github.com> Date: Wed, 13 Sep 2023 00:16:15 +0200 Subject: [PATCH] Compile fix for taproot cfg --- lightning/src/ln/channel.rs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lightning/src/ln/channel.rs b/lightning/src/ln/channel.rs index 424ae758fc3..f5518240204 100644 --- a/lightning/src/ln/channel.rs +++ b/lightning/src/ln/channel.rs @@ -5945,10 +5945,12 @@ impl Channel where splice_prev_funding_input_index, splice_tx_redeem_script: redeem_script, signature, - // #[cfg(taproot)] - // partial_signature_with_nonce: None, - // #[cfg(taproot)] - // next_local_nonce: None, + /* + #[cfg(taproot)] + partial_signature_with_nonce: None, + #[cfg(taproot)] + next_local_nonce: None, + */ }) } @@ -6078,8 +6080,10 @@ impl Channel where funding_signature, splice_prev_funding_input_index: msg.splice_prev_funding_input_index, signature, + /* #[cfg(taproot)] partial_signature_with_nonce: None, + */ }, channel_monitor)) } }