Related to T2690. Created a function, adjustTokenQtyForDecimals, which handles adjusting the token quantity for decimals throughout the app. Replaced logic throughout the app that adjusted token quantity for decimals with the new function, and added unit tests.
Details
Details
- Reviewers
bytesofman - Group Reviewers
Restricted Project
cd web/cashtab && npm start
npm test - all tests pass
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- adjust-token-decimals-function
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 20420 Build 40513: Build Diff cashtab-tests Build 40512: arc lint + arc unit
Event Timeline
Comment Actions
In retrospect, I don't think this adding value by simplifying the app and standardizing this application. It's happening in a few places as a one-liner function, which is okay. Go ahead and abandon this.