AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Moderate 60 Bitcoin

Merge pull request #11198 from gijswijs/amp-setlocal-reconstruction-fix

Public commit record

What the developer wrote

Authored by Olaoluwa Osuntokun

73/100 · Adequate
Merge pull request #11198 from gijswijs/amp-setlocal-reconstruction-fix

invoices: cancel only the failing AMP set on reconstruction failure
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Links an issue, advisory, or supporting reference
The short version

What changed, and why it matters

This change fixes a bug in LND's handling of AMP (Atomic Multi-Path) payments. Previously, if one partial payment set failed to reconstruct its secret preimage, the entire invoice was canceled, including unrelated partial payment sets from other payers. Now only the failing set is canceled, and the invoice stays open so other valid sets can still complete and settle. This is a correctness/availability fix for reusable AMP invoices.

Recommended action

Backport to affected release branches and deploy promptly for nodes accepting reusable static AMP invoices. No immediate incident response beyond patching is indicated by the commit materials.

Security signals we found

01

Denial-of-service against reusable static AMP invoices by causing unrelated accepted HTLC sets to be canceled

02

Incorrect invoice state transition from set-local failure to global invoice cancellation

03

Availability impact on multi-payer AMP invoice scenarios

Risk score

Why this scored 60/100

Our methodology →
Potential impact 18/30
Exploitability 12/25
Stealth signal 8/15
Affected reach 10/15
Confidence 8/10
Evidence quality 4/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.