feat: "send max" affordance — emptying an ETH account now requires manual arithmetic #198
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
#154 makes the confirmation screen correctly refuse a send whose amount plus network fee exceeds the balance. Correct, but it leaves no way to empty an account: the user must guess an amount, get refused, and adjust — with the fee moving under them between estimates.
Deliberately left out of scope there; filing it rather than losing it. Not milestoned — move it into 1.0.0 if you consider "cannot send your whole balance" a 1.0 defect rather than a missing convenience.
Implementation requirements
src/shared/balances.jsmay need to expose the untruncated value.validateTransfer()insrc/shared/txValidation.jsstays the gate — a max send must pass it, not bypass it.Definition of done
TODO.mdupdated in the same commit.make checkpasses.