Page MenuHomePhabricator

[Cashtab] [ECPair from wif p1/3] Add local method
ClosedPublic

Authored by bytesofman on Nov 25 2022, 09:46.

Details

Reviewers
emack
Group Reviewers
Restricted Project
Commits
rABCb287e872b1fe: [Cashtab] [ECPair from wif p1/3] Add local method
Summary

T2730

Part 1 of a 3-part stacked diff to deprecate BCH.ECPair.fromWIF function

This diff adds a local method, getECPairFromWIF, and compares this method with the existing method in the signUtxosByAddress function

Test Plan

Review new unit test and npm test
npm start, send a transaction, look for local method matches legacy method in the dev log

Diff Detail

Repository
rABC Bitcoin ABC
Branch
local-ecpair-take-two
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 21122
Build 41896: Build Diffcashtab-tests
Build 41895: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Nov 25 2022, 10:10