@@ -8654,15 +8654,12 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
8654
8654
fn claim_funds_internal(
8655
8655
&self, source: HTLCSource, payment_preimage: PaymentPreimage,
8656
8656
forwarded_htlc_value_msat: Option<u64>, skimmed_fee_msat: Option<u64>, from_onchain: bool,
8657
- startup_replay: bool, next_channel_counterparty_node_id: PublicKey,
8658
- next_channel_outpoint: OutPoint, next_channel_id: ChannelId,
8659
- next_user_channel_id: Option<u128>, attribution_data: Option<AttributionData>,
8660
- send_timestamp: Option<Duration>,
8657
+ next_channel_counterparty_node_id: PublicKey, next_channel_outpoint: OutPoint,
8658
+ next_channel_id: ChannelId, next_user_channel_id: Option<u128>,
8659
+ attribution_data: Option<AttributionData>, send_timestamp: Option<Duration>,
8661
8660
) {
8662
- debug_assert_eq!(
8663
- startup_replay,
8664
- !self.background_events_processed_since_startup.load(Ordering::Acquire)
8665
- );
8661
+ let startup_replay =
8662
+ !self.background_events_processed_since_startup.load(Ordering::Acquire);
8666
8663
let htlc_id = SentHTLCId::from_source(&source);
8667
8664
match source {
8668
8665
HTLCSource::OutboundRoute {
@@ -10510,7 +10507,6 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
10510
10507
Some(forwarded_htlc_value),
10511
10508
skimmed_fee_msat,
10512
10509
false,
10513
- false,
10514
10510
*counterparty_node_id,
10515
10511
funding_txo,
10516
10512
msg.channel_id,
@@ -11384,7 +11380,6 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
11384
11380
htlc_update.htlc_value_satoshis.map(|v| v * 1000),
11385
11381
None,
11386
11382
true,
11387
- false,
11388
11383
counterparty_node_id,
11389
11384
funding_outpoint,
11390
11385
channel_id,
@@ -17498,7 +17493,6 @@ where
17498
17493
Some(downstream_value),
17499
17494
None,
17500
17495
downstream_closed,
17501
- true,
17502
17496
downstream_node_id,
17503
17497
downstream_funding,
17504
17498
downstream_channel_id,
0 commit comments