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

qml: fix FeePolicy regression ref 840243e0290e1550927d7d91b8c62dc00e40dede

Public commit record

What the developer wrote

Authored by Sander van Grieken

75/100 · Adequate
qml: fix FeePolicy regression
ref 840243e0290e1550927d7d91b8c62dc00e40dede
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body✓ Mentions testing or verification
The short version

What changed, and why it matters

This commit fixes a regression in Electrum's QML (mobile/lightweight) user interface where creating a 'sweep' transaction accidentally ignored the user's chosen fee policy and passed no fee settings at all. The fix restores the intended behavior so the transaction respects whatever fee policy the user selected. The actual security impact is moderate and mostly user-facing: users might have gotten unexpectedly slow confirmations or unexpectedly high fees, rather than a direct theft-of-funds bug.

Recommended action

Users relying on the QML interface for sweeping private keys should update to a version containing this commit. Reviewers should verify that all other call sites of make_unsigned_transaction were updated consistently after the fee_policy refactor, and consider adding a regression test for sweep fee policy behavior.

Security signals we found

01

API regression: a parameter rename left one call site passing the old fee=None, so the new fee_policy logic was bypassed

02

User fee preference ignored for sweep transactions, which can lead to underpayment or overpayment of miner fees

03

No input validation, memory safety, or cryptographic flaw visible in the diff

04

No explicit security wording in commit title or message

Risk score

Why this scored 40/100

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