@@ -2248,7 +2248,7 @@ impl FundingScope {
2248
2248
fn for_splice<SP: Deref>(
2249
2249
prev_funding: &Self, context: &ChannelContext<SP>, our_funding_contribution: SignedAmount,
2250
2250
their_funding_contribution: SignedAmount, counterparty_funding_pubkey: PublicKey,
2251
- ) -> Result< Self, ChannelError>
2251
+ ) -> Self
2252
2252
where
2253
2253
SP::Target: SignerProvider,
2254
2254
{
@@ -2298,7 +2298,7 @@ impl FundingScope {
2298
2298
let holder_selected_channel_reserve_satoshis =
2299
2299
get_v2_channel_reserve_satoshis(post_channel_value, MIN_CHAN_DUST_LIMIT_SATOSHIS);
2300
2300
2301
- Ok( Self {
2301
+ Self {
2302
2302
channel_transaction_parameters: post_channel_transaction_parameters,
2303
2303
value_to_self_msat: post_value_to_self_msat,
2304
2304
funding_transaction: None,
@@ -2322,7 +2322,7 @@ impl FundingScope {
2322
2322
funding_tx_confirmed_in: None,
2323
2323
minimum_depth_override: None,
2324
2324
short_channel_id: None,
2325
- })
2325
+ }
2326
2326
}
2327
2327
2328
2328
/// Compute the post-splice channel value from each counterparty's contributions.
@@ -10975,7 +10975,7 @@ where
10975
10975
our_funding_contribution,
10976
10976
their_funding_contribution,
10977
10977
msg.funding_pubkey,
10978
- )? ;
10978
+ );
10979
10979
10980
10980
// TODO(splicing): Once splice acceptor can contribute, check that inputs are sufficient,
10981
10981
// similarly to the check in `splice_channel`.
@@ -11187,7 +11187,7 @@ where
11187
11187
our_funding_contribution,
11188
11188
their_funding_contribution,
11189
11189
msg.funding_pubkey,
11190
- )? ;
11190
+ );
11191
11191
11192
11192
// TODO(splicing): Pre-check for reserve requirement
11193
11193
// (Note: It should also be checked later at tx_complete)
0 commit comments