aboutsummaryrefslogtreecommitdiffstats
path: root/tools/amount-field-unit-test.js
Commit message (Collapse)AuthorAgeFilesLines
* Max in fiat sends every sat: the figure a Max fill wrote is remembered with ↵Adam Soltys6 days1-2/+3
| | | | | | its exact sats, so the cent-rounded amount no longer parses back a few sats short and strands them. Anything typed parses as typed Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Max fills the amount in the unit the field shows: in fiat that's money ↵Adam Soltys6 days1-0/+50
floored to the cent (so it never parses back above the maximum), not a BTC figure under a CAD label. One ctx.amountField helper for the ark send/LN Max, the gift Max and fixed-amount zap/BOLT 12 fills Co-Authored-By: Claude Opus 5.5 <[email protected]>