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
Branch
send-xec-improvements
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 25228
Build 50044: Build Diffcashtab-tests
Build 50043: arc lint + arc unit