You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, I had a misunderstood in what event retrying payments is
safe. It turns out that it's indeed safe to retry a payment as soon as
we receive `LdkEvent::PaymentFailed`.
Therefore, we can here now only refuse to send duplicate payments if our previous status is
`Succeeded` or `Pending`, which renders the additional distinction
between `Failed` and `SendingFailed` superfluous. Accordingly, we remove
this `PaymentStatus` variant.
0 commit comments