Correct ConnectionNeeded docs

This commit is contained in:
Elias Rohrer 2024-07-19 11:21:17 +02:00
parent a383beda2f
commit 53a616b46e
No known key found for this signature in database
GPG key ID: 36153082BDF676FD

View file

@ -756,8 +756,9 @@ pub enum Event {
/// replies. Handlers should connect to the node otherwise any buffered messages may be lost.
///
/// # Failure Behavior and Persistence
/// This event will eventually be replayed after failures-to-handle (i.e., the event handler
/// returning `Err(ReplayEvent ())`), but won't be persisted across restarts.
/// This event won't be replayed after failures-to-handle
/// (i.e., the event handler returning `Err(ReplayEvent ())`), and also won't be persisted
/// across restarts.
///
/// [`OnionMessage`]: msgs::OnionMessage
/// [`MessageRouter`]: crate::onion_message::messenger::MessageRouter