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

LNWallet: don't allow rebalancing through frozen channels

Public commit record

What the developer wrote

Authored by f321x

73/100 · Adequate
LNWallet: don't allow rebalancing through frozen channels

Don't allow rebalancing through a channel if it is frozen for the
direction required for the rebalance.
If this is allowed by the gui it creates opaque failures as then
pathfinding potentially fails downstream.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit fixes a user-experience and reliability bug in Electrum's Lightning rebalancing feature. Previously, the wallet could attempt to rebalance funds through channels that were 'frozen' (disabled for sending or receiving). This didn't cause loss of funds, but led to confusing downstream failures during route finding. The patch now blocks such rebalances early and reports a clear error.

Recommended action

No urgent security action required. Treat as a normal bug-fix / UX improvement. Users relying on Lightning rebalancing should upgrade to avoid confusing failures.

Security signals we found

01

Logic bug / reliability fix

02

Defensive input validation

03

No direct funds-loss vulnerability evident

Risk score

Why this scored 31/100

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