Skip to content

Commit fee0591

Browse files
Pass monitor event id to claim_funds_internal
Used in an upcoming commit to generate an EventCompletionAction::AckMonitorEvent.
1 parent 0982d0a commit fee0591

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lightning/src/ln/channelmanager.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9992,6 +9992,7 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
99929992
next_channel_counterparty_node_id: PublicKey, next_channel_outpoint: OutPoint,
99939993
next_channel_id: ChannelId, next_user_channel_id: Option<u128>,
99949994
attribution_data: Option<AttributionData>, send_timestamp: Option<Duration>,
9995+
monitor_event_id: Option<u64>,
99959996
) {
99969997
let startup_replay =
99979998
!self.background_events_processed_since_startup.load(Ordering::Acquire);
@@ -12640,6 +12641,7 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
1264012641
Some(next_user_channel_id),
1264112642
msg.attribution_data,
1264212643
send_timestamp,
12644+
None,
1264312645
);
1264412646

1264512647
Ok(())
@@ -13580,6 +13582,7 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
1358013582
htlc_update.user_channel_id,
1358113583
None,
1358213584
None,
13585+
Some(event_id),
1358313586
);
1358413587
} else {
1358513588
log_trace!(logger, "Failing HTLC from our monitor");
@@ -20496,6 +20499,7 @@ impl<
2049620499
downstream_user_channel_id,
2049720500
None,
2049820501
None,
20502+
None,
2049920503
);
2050020504
}
2050120505

0 commit comments

Comments
 (0)