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

wallet: make_unsigned_tx: follow-up prev

Public commit record

What the developer wrote

Authored by SomberNight

68/100 · Adequate
wallet: make_unsigned_tx: follow-up prev

if the only onchain funds in the wallet is a single UTXO that covers config.LN_UTXO_RESERVE, clicking "Max" in the GUI send tab triggers the assert
✓ 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 crash in Electrum's transaction builder. If a user had only one on-chain coin (UTXO) that was just enough to meet a reserve requirement, clicking 'Max' in the send tab would hit an internal assertion and fail instead of showing a proper 'not enough funds' error. The fix adds a check that raises a normal NotEnoughFunds exception before the code reaches the assertion.

Recommended action

No immediate security response needed beyond applying the fix. This is a robustness improvement that prevents a user-triggered crash. Consider reviewing other assertion points in transaction construction for similar reachable failures.

Security signals we found

01

Denial-of-service-like crash path triggered by user action in normal wallet state

02

Assertion failure reachable through GUI send flow

03

Fix converts assertion crash into handled NotEnoughFunds exception

Risk score

Why this scored 29/100

Our methodology →
Potential impact 8/30
Exploitability 3/25
Stealth signal 2/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.