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

LNWallet: only include tramp r_tags if tramp feature

Public commit record

What the developer wrote

Authored by f321x

65/100 · Adequate
LNWallet: only include tramp r_tags if tramp feature

Only include r_tags for trampoline nodes in a bolt11 invoice
if its invoice_features signal trampoline support.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
The short version

What changed, and why it matters

This commit changes how Electrum generates Lightning Network invoices. Previously, routing hints could include regular (non-trampoline) channels even when the invoice advertised support for trampoline routing. Now, if the invoice says it supports trampoline routing, only trampoline-capable channels are included as hints. This makes the invoice's advertised features consistent with the actual routing hints, which can prevent payment failures or routing confusion for wallets that rely on those hints.

Recommended action

Treat as a correctness/reliability fix rather than an urgent security patch. Users relying on Lightning invoice generation, especially trampoline routing, should update. No immediate incident response is indicated by the commit alone.

Security signals we found

01

Logic bug fix: inconsistent invoice feature advertisement vs routing hints

02

Potential payment reliability / routing failure issue

03

No explicit security framing in commit message or diff

Risk score

Why this scored 49/100

Our methodology →
Potential impact 12/30
Exploitability 10/25
Stealth signal 8/15
Affected reach 10/15
Confidence 6/10
Evidence quality 3/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.