HomePhabricator

[Cashtab] [Deprecate BCH msg signing p1/3] Correct async bug

Description

[Cashtab] [Deprecate BCH msg signing p1/3] Correct async bug

Summary:
T2730

Now that we have a function to get EC Pair from Wif, we can also deprecate bchObj.BitcoinCash.signMessageWithPrivKey

This diff patches a bug in that this function is treated async but it is not

Test Plan:
Review here to confirm the function is not async: https://github.com/Permissionless-Software-Foundation/bch-js/blob/master/src/bitcoincash.js#L150
npm start
sign and verify a msg

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

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

Details

Provenance
bytesofmanAuthored on Nov 25 2022, 12:47
bytesofmanPushed on Nov 26 2022, 06:22
Reviewer
Restricted Project
Differential Revision
D12626: [Cashtab] [Deprecate BCH msg signing p1/3] Correct async bug
Parents
rABC80ffd013085f: [Cashtab] Patch dependency webpack error for local-ecpair
Branches
Unknown
Tags
Unknown