Skip to content

Commit 26cf396

Browse files
committed
fix Remove splicing parts, remove prev_funding_input
1 parent 9e14209 commit 26cf396

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lightning/src/ln/channel.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2230,7 +2230,6 @@ impl<SP: Deref> PendingV2Channel<SP> where SP::Target: SignerProvider {
22302230
fn begin_interactive_funding_tx_construction<ES: Deref>(
22312231
&mut self, signer_provider: &SP, entropy_source: &ES, holder_node_id: PublicKey,
22322232
change_destination_opt: Option<ScriptBuf>,
2233-
prev_funding_input: Option<(TxIn, TransactionU16LenLimited)>,
22342233
) -> Result<Option<InteractiveTxMessageSend>, AbortReason>
22352234
where ES::Target: EntropySource
22362235
{
@@ -2239,9 +2238,7 @@ impl<SP: Deref> PendingV2Channel<SP> where SP::Target: SignerProvider {
22392238
let mut funding_inputs = Vec::new();
22402239
mem::swap(&mut self.dual_funding_context.our_funding_inputs, &mut funding_inputs);
22412240

2242-
if let Some(prev_funding_input) = prev_funding_input {
2243-
funding_inputs.push(prev_funding_input);
2244-
}
2241+
// TODO(splicing): Add prev funding tx as input, must be provided as a parameter
22452242

22462243
// Add output for funding tx
22472244
// Note: For the error case when the inputs are insufficient, it will be handled after

0 commit comments

Comments
 (0)