Changed the handling of the amount param in Cashtab to ensure consistency with other XEC wallets. Related to task T2338.
Details
Details
- Reviewers
bytesofman - Group Reviewers
Restricted Project - Commits
- rABC688711121371: [Cashtab] Parse amount param in XEC
cd web/cashtab && npm start
navigate to send screen
input an eCash address with an amount param including decimals
ensure tx goes through
input an eCash address with an amount param without decimals
ensure tx goes through
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
web/cashtab/src/components/Common/Ticker.js | ||
---|---|---|
129 ↗ | (On Diff #33369) | Sorry, I added an update to this, please use Amount in XEC as it is hard coded and does not change with currency.cashDecimals Eventually, we will deprecate the currency.cashDecimals param |
129 ↗ | (On Diff #33367) | Actually, use // Amount in XEC -- this is the standard, and in this case the parsing is not impacted by the currency.cashDecimals param. |