Skip to content

Commit aab6f16

Browse files
committed
f - Rename FailedRoutingRetry to RouteNotFound
1 parent 3b420a6 commit aab6f16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/events/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ pub enum PaymentFailureReason {
289289
/// `PaymentParams` this payment will be failed if it is retried after this time has elapsed.
290290
PaymentExpired,
291291
/// We failed to find a route while retrying the payment.
292-
FailedRoutingRetry,
292+
RouteNotFound,
293293
/// This error should generally never happen. This likely means that there is a problem with
294294
/// your router.
295295
UnexpectedError,
@@ -301,7 +301,7 @@ impl_writeable_tlv_based_enum_upgradable!(PaymentFailureReason,
301301
(4, UserAbandoned) => {},
302302
(6, RetriesExhausted) => {},
303303
(8, PaymentExpired) => {},
304-
(10, FailedRoutingRetry) => {},
304+
(10, RouteNotFound) => {},
305305
(12, UnexpectedError) => {},
306306
);
307307

0 commit comments

Comments
 (0)