Page MenuHomePhabricator

[Cashtab] [p3 normalizeBalance fix] Add unit tests
ClosedPublic

Authored by bytesofman on Aug 11 2022, 23:47.

Details

Reviewers
emack
Group Reviewers
Restricted Project
Commits
rABC3dc92c1711e5: [Cashtab] [p3 normalizeBalance fix] Add unit tests
Summary

T2601

Part 3 in a series of diffs to improve calculation of wallet balance from utxo set

Depends on D11844

Add unit tests for the normalizeBalance function.

Note: One mock had legacy balances in BCHA units and was updated to XEC.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable