diff options
| author | Adam Soltys <[email protected]> | 2026-11-22 14:03:26 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-11-22 14:03:26 -0700 |
| commit | e6fac3626b0bc5d7b3d753ed69d0d621928478fc (patch) | |
| tree | 982cc9266b7fbe5806b332db449a6cf3f53fca6c /android/app/src/fcm/java/io/url%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252527 | |
| parent | a1040ecb9908a8290ed9809795b1dc8bdea9ed38 (diff) | |
| download | coinosv3-master.tar.gz coinosv3-master.zip | |
A scanned bitcoin: request with an amount switches the form to BTC. "I scanned a BIP21 on-chain Bitcoin payment request with an amount encoded in it, and it filled in the amount. I guess I had CAD, Canadian dollars, selected as my unit, so it filled it in as that. It should always switch over to BTC as the units if I'm scanning a BIP21 URL like that from a QR code" (Adam, 2026-11-22). The request's amount is written in BTC; the scan turned it into sats when the unit was sats and otherwise put the BTC figure in the box as it was, so with dollars selected 0.0005 BTC read as 0.0005 CAD. A bitcoin: request that carries an amount, scanned or handed over by the Android app, now sets the unit to BTC (kept, as a tap on the unit is; anything typed for other recipients is converted as that tap converts it) and fills the amount from the exact sats. A request with no amount leaves the unit alone. amount-field-unit-test scans a 0.0005 BTC request with CAD selected (unit becomes BTC, the box parses to 50,000 sats) and one with no amount (unit unchanged); features-smoke passes.HEADmaster
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6Upic5L6MMJzkTn8zg
Diffstat (limited to 'android/app/src/fcm/java/io/url%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252527')
0 files changed, 0 insertions, 0 deletions
