Skip to content

Commit c4c6f61

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 f7c5be0 commit c4c6f61

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
@@ -560,7 +560,7 @@ pub enum PaymentFailureReason {
560560
/// [`PaymentParameters::expiry_time`]: crate::routing::router::PaymentParameters::expiry_time
561561
/// [`InvoiceRequestExpired`]: Self::InvoiceRequestExpired
562562
PaymentExpired,
563-
/// We failed to find a route while retrying the payment.
563+
/// We failed to find a route while sending or retrying the payment.
564564
///
565565
/// Note that this generally indicates that we've exhausted the available set of possible
566566
/// routes - we tried the payment over a few routes but were not able to find any further

0 commit comments

Comments
 (0)