HomePhabricator

[Cashtab] Refactor new tx function to accept targetOutputs

Description

[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

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
bytesofmanAuthored on Oct 2 2023, 16:04
bytesofmanPushed on Oct 3 2023, 17:58
Reviewer
Restricted Project
Differential Revision
D14574: [Cashtab] Refactor new tx function to accept targetOutputs
Parents
rABC6ddb501b4785: [avalanche] Fix occasional failures in abc_p2p_avalanche_voting
Branches
Unknown
Tags
Unknown