HomePhabricator

[Cashtab] Remove instance of toSatoshi from tx builder

Description

[Cashtab] Remove instance of toSatoshi from tx builder

Summary: Continuing the refactor of the sendBch function, remove the 2nd (of 3) instances of the toSatoshi function. Add unit tests to confirm that the new method is returning identical output to the old method.

Test Plan: npm test

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Provenance
Joey King <joseph.roy.king@gmail.com>Authored on Feb 4 2021, 14:56
bytesofmanPushed on Feb 4 2021, 16:10
Reviewer
Restricted Project
Differential Revision
D9166: [Cashtab] Remove instance of toSatoshi from tx builder
Parents
rABC81b7eac423d6: Use npm ci instead of install for docker deployments
Branches
Unknown
Tags
Unknown