@@ -5919,15 +5919,15 @@ impl FundingNegotiationContext {
59195919 /// default destination address is used.
59205920 /// If error occurs, it is caused by our side, not the counterparty.
59215921 fn into_interactive_tx_constructor<SP: Deref, ES: Deref>(
5922- self, context: &ChannelContext<SP>, funding: &FundingScope, is_splice: bool ,
5923- signer_provider: &SP, entropy_source: &ES, holder_node_id: PublicKey,
5924- change_destination_opt: Option<ScriptBuf>, shared_funding_input: Option<SharedOwnedInput>,
5922+ self, context: &ChannelContext<SP>, funding: &FundingScope, signer_provider: &SP ,
5923+ entropy_source: &ES, holder_node_id: PublicKey, change_destination_opt: Option<ScriptBuf> ,
5924+ shared_funding_input: Option<SharedOwnedInput>,
59255925 ) -> Result<InteractiveTxConstructor, AbortReason>
59265926 where
59275927 SP::Target: SignerProvider,
59285928 ES::Target: EntropySource,
59295929 {
5930- if is_splice {
5930+ if shared_funding_input.is_some() {
59315931 debug_assert!(matches!(context.channel_state, ChannelState::ChannelReady(_)));
59325932 } else {
59335933 debug_assert!(matches!(context.channel_state, ChannelState::NegotiatingFunding(_)));
@@ -10532,7 +10532,6 @@ where
1053210532 .into_interactive_tx_constructor(
1053310533 &self.context,
1053410534 &splice_funding,
10535- true,
1053610535 signer_provider,
1053710536 entropy_source,
1053810537 holder_node_id.clone(),
@@ -10664,7 +10663,6 @@ where
1066410663 .into_interactive_tx_constructor(
1066510664 &self.context,
1066610665 &splice_funding,
10667- true,
1066810666 signer_provider,
1066910667 entropy_source,
1067010668 holder_node_id.clone(),
0 commit comments