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
Branch
remove-tosatoshi-from-tx-builder
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 15120
Build 30190: Build Diffcashtab-tests
Build 30189: arc lint + arc unit