Skip to content

Commit af94f0e

Browse files
committed
f - drop unnecessary check
1 parent 4e92e0a commit af94f0e

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

lightning/src/ln/channel.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10689,17 +10689,6 @@ where
1068910689
});
1069010690
}
1069110691

10692-
let funding_inputs = contribution.inputs();
10693-
let funding_outputs = contribution.outputs();
10694-
if !funding_inputs.is_empty() && !funding_outputs.is_empty() {
10695-
return Err(APIError::APIMisuseError {
10696-
err: format!(
10697-
"Channel {} cannot be both spliced in and out; operation not supported",
10698-
self.context.channel_id(),
10699-
),
10700-
});
10701-
}
10702-
1070310692
// Note: post-splice channel value is not yet known at this point, counterparty contribution is not known
1070410693
// (Cannot test for miminum required post-splice channel value)
1070510694

0 commit comments

Comments
 (0)