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
When a swap's hold payment fails and the user retries from Amount, the retried payment loses its contact.
Cause
Moving to Pending clears activeContactPaymentContext, and the failure deletes the pending contact context. Retry from Amount restores neither, so the retry runs with a null context:
No pending contact context is stored for the new hold payment.
consumePrivatePaymentListIfNeeded(null) consumes nothing, although the first attempt's entry was released.
On settlement, syncContactForActivity tags the activity with no contact. If another contact send is open by then, it tags that contact instead.
Master's pending Lightning retry has the same gap.
Fix
Restore the contact context when the current send's hold payment fails. Add a test that drives Error, Retry, Continue and confirm for a swap.
Activity
ovitrif commentedon Nov 26, 2026
Moved to milestone 3.2.0: the fix, #1923, is on master, so it ships in 3.2.0.