Closed
Description
Currently, only PaymentFailure::PartialFailure
carry PaymentParameters
, which is why InvoicePayer
retries any PaymentFailure::AllFailedResendSafe
s with empty previously_failed_channels
:
rust-lightning/lightning-invoice/src/payment.rs
Lines 524 to 533 in 98417a1
As this may result in a loop where a failing route is retried over and over again until we run out of time or attempts, we probably want to consider any previously failed channels in the AllFailedResendSafe
case also.
As InvoicePayer
is pending deprecation anyways, this probably should be fixed as part of the migration of the retry logic to ChannelManager
.
Metadata
Metadata
Assignees
Labels
No labels