Skip to content

Commit 4d0da54

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 b5573e7 commit 4d0da54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/events/mod.rs

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

0 commit comments

Comments
 (0)