Skip to content

Commit 793ec6c

Browse files
Update docs for PaymentFailureReason::RouteNotFound
Since we started using this error in send_payment_for_bolt12_invoice, this error type is no longer only used on retry but also on initial send.
1 parent 3e1af19 commit 793ec6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/events/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ pub enum PaymentFailureReason {
559559
/// [`PaymentParameters::expiry_time`]: crate::routing::router::PaymentParameters::expiry_time
560560
/// [`InvoiceRequestExpired`]: Self::InvoiceRequestExpired
561561
PaymentExpired,
562-
/// We failed to find a route while retrying the payment.
562+
/// We failed to find a route while sending or retrying the payment.
563563
///
564564
/// Note that this generally indicates that we've exhausted the available set of possible
565565
/// routes - we tried the payment over a few routes but were not able to find any further

0 commit comments

Comments
 (0)