Page MenuHomePhabricator

[Cashtab] Remove final instance of toSatoshi()
ClosedPublic

Authored by josephroyking on Thu, Feb 4, 19:30.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC29072910aa02: [Cashtab] Remove final instance of toSatoshi()
Summary

Replace the last instance of toSatoshi() with the new toSmallestDenomination() to support possible decimal move. Includes unit test demonstrating replaced value is equivalent to former value. This is the last step required before refactoring sendBch() to only use BigNumber

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.