Return '0' in formatBalance if input cannot be processed. Add unit tests for 0, null, and undefined inputs.
Details
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Commits
- rABC0abbfac420be: [Cashtab] Error handling for formatBalance
npm test
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- handle-zero-balances
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 15296 Build 30526: Build Diff cashtab-tests Build 30525: arc lint + arc unit