Skip to content

Commit fdeae63

Browse files
committed
Fix broken intra doc links, these were causing beta CI to fail
1 parent 9f23084 commit fdeae63

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

lightning/src/events/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1523,7 +1523,7 @@ pub enum Event {
15231523
/// To accept the request (and in the case of a dual-funded channel, not contribute funds),
15241524
/// call [`ChannelManager::accept_inbound_channel`].
15251525
/// To reject the request, call [`ChannelManager::force_close_broadcasting_latest_txn`].
1526-
/// Note that a ['ChannelClosed`] event will _not_ be triggered if the channel is rejected.
1526+
/// Note that a [`ChannelClosed`] event will _not_ be triggered if the channel is rejected.
15271527
///
15281528
/// The event is only triggered when a new open channel request is received and the
15291529
/// [`UserConfig::manually_accept_inbound_channels`] config flag is set to true.
@@ -1533,6 +1533,7 @@ pub enum Event {
15331533
/// returning `Err(ReplayEvent ())`) and won't be persisted across restarts.
15341534
///
15351535
/// [`ChannelManager::accept_inbound_channel`]: crate::ln::channelmanager::ChannelManager::accept_inbound_channel
1536+
/// [`ChannelClosed`]: Event::ChannelClosed
15361537
/// [`ChannelManager::force_close_broadcasting_latest_txn`]: crate::ln::channelmanager::ChannelManager::force_close_broadcasting_latest_txn
15371538
/// [`UserConfig::manually_accept_inbound_channels`]: crate::util::config::UserConfig::manually_accept_inbound_channels
15381539
OpenChannelRequest {

lightning/src/ln/channelmanager.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4286,7 +4286,7 @@ where
42864286
///
42874287
/// The `shutdown_script` provided will be used as the `scriptPubKey` for the closing transaction.
42884288
/// Will fail if a shutdown script has already been set for this channel by
4289-
/// ['ChannelHandshakeConfig::commit_upfront_shutdown_pubkey`]. The given shutdown script must
4289+
/// [`ChannelHandshakeConfig::commit_upfront_shutdown_pubkey`]. The given shutdown script must
42904290
/// also be compatible with our and the counterparty's features.
42914291
///
42924292
/// May generate a [`SendShutdown`] message event on success, which should be relayed.
@@ -4298,6 +4298,7 @@ where
42984298
///
42994299
/// [`ChannelConfig::force_close_avoidance_max_fee_satoshis`]: crate::util::config::ChannelConfig::force_close_avoidance_max_fee_satoshis
43004300
/// [`NonAnchorChannelFee`]: crate::chain::chaininterface::ConfirmationTarget::NonAnchorChannelFee
4301+
/// [`ChannelHandshakeConfig::commit_upfront_shutdown_pubkey`]: crate::util::config::ChannelHandshakeConfig::commit_upfront_shutdown_pubkey
43014302
/// [`SendShutdown`]: MessageSendEvent::SendShutdown
43024303
pub fn close_channel_with_feerate_and_script(
43034304
&self, channel_id: &ChannelId, counterparty_node_id: &PublicKey,

lightning/src/ln/onion_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1590,7 +1590,7 @@ pub enum LocalHTLCFailureReason {
15901590
/// The HTLC expires too far in the future, so it is rejected to avoid the worst-case outcome
15911591
/// of funds being held for extended periods of time.
15921592
///
1593-
/// Limit set by ['crate::ln::channelmanager::CLTV_FAR_FAR_AWAY`].
1593+
// Limit set by [`crate::ln::channelmanager::CLTV_FAR_FAR_AWAY`].
15941594
CLTVExpiryTooFar,
15951595
/// The HTLC payload contained in the onion packet could not be understood by our node.
15961596
InvalidOnionPayload,

lightning/src/ln/peer_handler.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2804,6 +2804,8 @@ where
28042804
/// [`send_payment`]: crate::ln::channelmanager::ChannelManager::send_payment
28052805
/// [`ChannelManager::process_pending_htlc_forwards`]: crate::ln::channelmanager::ChannelManager::process_pending_htlc_forwards
28062806
/// [`send_data`]: SocketDescriptor::send_data
2807+
/// [`lightning-net-tokio`]: lightning-net-tokio
2808+
/// [`lightning-background-processor`]: lightning-background-processor
28072809
pub fn process_events(&self) {
28082810
if self.event_processing_state.fetch_add(1, Ordering::AcqRel) > 0 {
28092811
// If we're not the first event processor to get here, just return early, the increment

0 commit comments

Comments
 (0)