Skip to content

Commit 689b21f

Browse files
committed
f - doc fixes
1 parent 21449b0 commit 689b21f

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

lightning/src/events/mod.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -280,17 +280,15 @@ pub enum PaymentFailureReason {
280280
/// [`ChannelManager::abandon_payment`]: crate::ln::channelmanager::ChannelManager::abandon_payment
281281
UserAbandoned,
282282
/// We exhausted all of our retry attempts while trying to send the payment, or we
283-
/// exhausted the [`Retry::Timeout`] if the user set one. If at any point the reason a retry
284-
/// attempt failed while being forwarded along the path, a [`Event::PaymentPathFailed`] will
283+
/// exhausted the [`Retry::Timeout`] if the user set one. If at any point a retry
284+
/// attempt failed while being forwarded along the path, an [`Event::PaymentPathFailed`] will
285285
/// have come before this.
286286
///
287287
/// [`Retry::Timeout`]: crate::ln::channelmanager::Retry::Timeout
288288
RetriesExhausted,
289-
/// The payment expired while retrying. If the user chooses to include an
290-
/// [`PaymentParameters::expiry_time`] in their [`PaymentParameters`] this payment will be
291-
/// failed if it is retried after this time has elapsed.
289+
/// The payment expired while retrying, based on the provided
290+
/// [`PaymentParameters::expiry_time`].
292291
///
293-
/// [`PaymentParameters`]: crate::routing::router::PaymentParameters
294292
/// [`PaymentParameters::expiry_time`]: crate::routing::router::PaymentParameters::expiry_time
295293
PaymentExpired,
296294
/// We failed to find a route while retrying the payment.

0 commit comments

Comments
 (0)