Page MenuHomePhabricator

[Cashtab] Replace toBitcoinCash function
ClosedPublic

Authored by bytesofman on Feb 26 2021, 18:55.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCe0169349a9a2: [Cashtab] Replace toBitcoinCash function
Summary

Replace toBitcoinCash function with new fromSmallestDenomination function that accepts cashDecimals parameter. Add unit tests to confirm this replacement does not change the output of previous function.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Branch
remove-to-bitcoincash
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 15286
Build 30507: Build Diffcashtab-tests
Build 30506: arc lint + arc unit