File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -280,12 +280,18 @@ 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
283
+ /// exhausted the [ `Retry::Timeout`] if the user set one. If at any point the reason a retry
284
284
/// attempt failed while being forwarded along the path, a [`Event::PaymentPathFailed`] will
285
285
/// have come before this.
286
+ ///
287
+ /// [`Retry::Timeout`]: crate::ln::channelmanager::Retry::Timeout
286
288
RetriesExhausted ,
287
- /// The payment expired while retrying. If the user chooses to include an `expiry_time` in their
288
- /// `PaymentParams` this payment will be failed if it is retried after this time has elapsed.
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.
292
+ ///
293
+ /// [`PaymentParameters`]: crate::routing::router::PaymentParameters
294
+ /// [`PaymentParameters::expiry_time`]: crate::routing::router::PaymentParameters::expiry_time
289
295
PaymentExpired ,
290
296
/// We failed to find a route while retrying the payment.
291
297
RouteNotFound ,
You can’t perform that action at this time.
0 commit comments