Skip to content

Commit 35ed9d9

Browse files
committed
fix Remove splicing parts, remove prev_funding_input
1 parent 24edbc0 commit 35ed9d9

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
@@ -2228,7 +2228,6 @@ impl<SP: Deref> PendingV2Channel<SP> where SP::Target: SignerProvider {
22282228
fn begin_interactive_funding_tx_construction<ES: Deref>(
22292229
&mut self, signer_provider: &SP, entropy_source: &ES, holder_node_id: PublicKey,
22302230
change_destination_opt: Option<ScriptBuf>,
2231-
prev_funding_input: Option<(TxIn, TransactionU16LenLimited)>,
22322231
) -> Result<Option<InteractiveTxMessageSend>, AbortReason>
22332232
where ES::Target: EntropySource
22342233
{
@@ -2237,9 +2236,7 @@ impl<SP: Deref> PendingV2Channel<SP> where SP::Target: SignerProvider {
22372236
let mut funding_inputs = Vec::new();
22382237
mem::swap(&mut self.dual_funding_context.our_funding_inputs, &mut funding_inputs);
22392238

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

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

0 commit comments

Comments
 (0)