Skip to content

Commit bcb55fe

Browse files
f rename
1 parent 17083a4 commit bcb55fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/onion_message/messenger.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ where
811811
///
812812
/// Interception flow:
813813
/// 1. If an onion message for an offline peer is received, `OnionMessenger` will
814-
/// generate an [`Event::OnionMessageForOfflinePeer`]. Event handlers can
814+
/// generate an [`Event::OnionMessageIntercepted`]. Event handlers can
815815
/// then choose to persist this onion message for later forwarding, or drop
816816
/// it.
817817
/// 2. When the offline peer later comes back online, `OnionMessenger` will
@@ -822,7 +822,7 @@ where
822822
///
823823
/// # Note
824824
///
825-
/// LDK will not rate limit how many [`Event::OnionMessageForOfflinePeer`]s
825+
/// LDK will not rate limit how many [`Event::OnionMessageIntercepted`]s
826826
/// are generated, so it is the caller's responsibility to limit how many
827827
/// onion messages are persisted and only persist onion messages for relevant
828828
/// peers.

0 commit comments

Comments
 (0)