@@ -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.
@@ -11120,7 +11120,7 @@ where
11120
11120
our_funding_contribution,
11121
11121
their_funding_contribution,
11122
11122
msg.funding_pubkey,
11123
- )? ;
11123
+ );
11124
11124
11125
11125
// TODO(splicing): Once splice acceptor can contribute, check that inputs are sufficient,
11126
11126
// similarly to the check in `splice_channel`.
@@ -11332,7 +11332,7 @@ where
11332
11332
our_funding_contribution,
11333
11333
their_funding_contribution,
11334
11334
msg.funding_pubkey,
11335
- )? ;
11335
+ );
11336
11336
11337
11337
// TODO(splicing): Pre-check for reserve requirement
11338
11338
// (Note: It should also be checked later at tx_complete)
0 commit comments