HomePhabricator

[Cashtab] [local opreturn encode p2/2] Simplify function

Description

[Cashtab] [local opreturn encode p2/2] Simplify function

Summary:
T2730

Depends on D12629

Remove the ambiguous data variable and simply return the encoded value

Test Plan:
npm test
npm start and send an xec tx with an OP_RETURN msg

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

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

Details

Provenance
bytesofmanAuthored on Nov 25 2022, 19:13
bytesofmanPushed on Nov 26 2022, 06:34
Reviewer
Restricted Project
Differential Revision
D12639: [Cashtab] [local opreturn encode p2/2] Simplify function
Parents
rABC86a2867a2130: [Cashtab] [local opreturn encode p1/2] Deprecate BCH.script.encode
Branches
Unknown
Tags
Unknown