Page MenuHomePhabricator

[Cashtab] Remove final instance of toSatoshi()
ClosedPublic

Authored by bytesofman on Feb 4 2021, 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
Lint Not Applicable
Unit
Tests Not Applicable