Page MenuHomePhabricator

[Cashtab] Refactor new tx function to accept targetOutputs
ClosedPublic

Authored by bytesofman on Oct 2 2023, 16:05.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC6fc0fc1db8ad: [Cashtab] Refactor new tx function to accept targetOutputs
Summary

Have new sendXec function accept targetOutputs instead of creating it. This will allow extended support of different types of XEC txs without overloading this sendXec function.

While the function is renamed to be more general, it is not yet unit tested for other cases. These will be added before the function is implemented in the app.

Test Plan

npm test

Diff Detail

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