fix(payment): skip store insertion on routing failures to allow retry#906
Conversation
|
I've assigned @tnull as a reviewer! |
Adjust the error handling for outbound payments so that when a payment fails at the pathfinding stage (e.g., `RetryableSendFailure::RouteNotFound`), we bypass inserting a `PaymentStatus::Failed` entry into the database. Fix lightningdevkit#903
09c0a1f to
c9d3974
Compare
|
🔔 1st Reminder Hey @tnull! This PR has been waiting for your review. |
benthecarman
left a comment
There was a problem hiding this comment.
I think we already handle this, the test passes for me without your changes or at least the test doesn't actually cover the issue you're trying to fix
|
🔔 2nd Reminder Hey @tnull! This PR has been waiting for your review. |
Adjust the error handling for outbound payments so that when a payment fails at the pathfinding stage (e.g.,
RetryableSendFailure::RouteNotFound), we bypass inserting aPaymentStatus::Failedentry into the database.Fix #903