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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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