Page MenuHomePhabricator

[Cashtab] [p6 match wif to address] Update signAndBuildTx wif extraction approach
AbandonedPublic

Authored by emack on Aug 28 2022, 04:39.

Details

Reviewers
bytesofman
Group Reviewers
Restricted Project
Summary

Depends on D11887

As per T2599, this is part of a stacked diff to sign utxos for non-eToken txs by matching wif to address.

This diff changes the signAndBuildTx() function to use getUtxosWif to obtain the funding wif rather than relying on the soon to be deprecated .wif attribute of an XEC utxo object

Includes updates to corresponding unit tests and mocks.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Branch
sendXecMatchWifToAddr
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 19887
Build 39482: Build Diffcashtab-tests
Build 39481: arc lint + arc unit

Event Timeline

emack requested review of this revision.Aug 28 2022, 04:39
This revision is now accepted and ready to land.Aug 31 2022, 16:37

Due to mixed arcanist version issues, this stack landed in full when p1 landed

Please abandon

This revision now requires changes to proceed.Sep 20 2022, 21:26