Page MenuHomePhabricator

[Cashtab] Remove final instance of toSatoshi()
ClosedPublic

Authored by josephroyking 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
Branch
remove-final-tosatoshi
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 15127
Build 30204: Build Diffcashtab-tests
Build 30203: arc lint + arc unit