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