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

fix(lndrest): use boolean for allow_self_payment instead of integer (#3700)

Public commit record

What the developer wrote

Authored by PatMulligan

70/100 · Adequate
fix(lndrest): use boolean for allow_self_payment instead of integer (#3700)
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Links an issue, advisory, or supporting reference! No meaningful explanatory body
The short version

What changed, and why it matters

This commit fixes a small data-type bug in LNbits' integration with the LND lightning node. The code was sending the number 1 where LND expects a true/false boolean for the 'allow_self_payment' option. Depending on how strictly LND validates the request, this could cause self-payments to be rejected or handled incorrectly, potentially breaking a feature or creating inconsistent payment behavior.

Recommended action

Treat as a routine bug fix. Review whether the integer value caused any unexpected LND behavior (rejected self-payments, fallback logic, or silently disabled self-payments) in affected deployments. No urgent security response is indicated by the diff alone.

Security signals we found

01

API request field type mismatch corrected

02

Payment-routing option corrected from integer to boolean

03

Potential functional bug in self-payment handling

Risk score

Why this scored 29/100

Our methodology →
Potential impact 5/30
Exploitability 5/25
Stealth signal 5/15
Affected reach 5/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.