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

xelis send all fee subtraction

Public commit record

What the developer wrote

Authored by julian

45/100 · Thin
xelis send all fee subtraction
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
The short version

What changed, and why it matters

This commit fixes a bug in the Stack Wallet app when sending the full balance of a Xelis cryptocurrency wallet. Previously, when a user chose 'send all,' the app did not subtract the network transaction fee from the amount being sent, which could cause the transaction to fail or attempt to spend more than the wallet held. The patch now detects 'send all' and reduces the recipient's amount by the estimated fee. It also restricts this code path to exactly one recipient and updates some unrelated dependency versions in pubspec.lock.

Recommended action

Review the send-all edge cases: ensure boostedFee is always <= recipients.first.amount to avoid negative or zero outputs, verify behavior when the fee estimate changes after txData.copyWith, and test insufficient-balance paths. Also review the cs_monero/cs_salvium major-version upgrades for breaking API changes that could affect wallet behavior.

Security signals we found

01

Functional bug fix in transaction amount construction

02

Send-all fee subtraction prevents attempted over-spend

03

Single-recipient guard reduces ambiguity in fee allocation

04

Dependency version bumps for cs_monero and cs_salvium packages

Risk score

Why this scored 33/100

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