HomePhabricator

[Cashtab] Remove final instance of toSatoshi()

Description

[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

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D9173

Details

Provenance
Joey King <joseph.roy.king@gmail.com>Authored on Feb 4 2021, 19:28
josephroykingPushed on Feb 5 2021, 14:14
Reviewer
Restricted Project
Differential Revision
D9173: [Cashtab] Remove final instance of toSatoshi()
Parents
rABC0d8a2681cc6e: [Cashtab] change hover text for wallet mgmt icons
Branches
Unknown
Tags
Unknown

Event Timeline