Page MenuHomePhabricator

[Cashtab] Replace toBitcoinCash function
ClosedPublic

Authored by josephroyking 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable