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
Rebuild pending payments list before replaying pending claims/fails
On `ChannelManager` reload we rebuild the pending outbound payments
list by looking for any missing payments in `ChannelMonitor`s.
However, in the same loop over `ChannelMonitor`s, we also re-claim
any pending payments which we see we have a payment preimage for.
In theory this can lead to a pending payment getting re-added and
re-claimed multiple times if it was sent as an MPP payment across
multiple channels. Worse, if it was claimed on one channel and
failed on another, in theory we could get both a `PaymentFailed`
and a `PaymentClaimed` event on startup for the same payment.
0 commit comments