Page MenuHomePhabricator

[Cashtab] Remove instance of toSatoshi from tx builder
ClosedPublic

Authored by bytesofman on Feb 4 2021, 14:57.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Commits
rABC06496a4d8394: [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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable