File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -280,17 +280,15 @@ pub enum PaymentFailureReason {
280
280
/// [`ChannelManager::abandon_payment`]: crate::ln::channelmanager::ChannelManager::abandon_payment
281
281
UserAbandoned ,
282
282
/// 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
285
285
/// have come before this.
286
286
///
287
287
/// [`Retry::Timeout`]: crate::ln::channelmanager::Retry::Timeout
288
288
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`].
292
291
///
293
- /// [`PaymentParameters`]: crate::routing::router::PaymentParameters
294
292
/// [`PaymentParameters::expiry_time`]: crate::routing::router::PaymentParameters::expiry_time
295
293
PaymentExpired ,
296
294
/// We failed to find a route while retrying the payment.
You can’t perform that action at this time.
0 commit comments