HomePhabricator

[Cashtab] Fix bugs in parseChronikTx

Description

[Cashtab] Fix bugs in parseChronikTx

Summary:
T3434

Instead of converting all strings (and buffers) to string at the end, just convert the buffers to string. Some buffers may require non-utf8 conversion later. Also, now that we are handling unrecognized lokad ids by separating the pushes with a space, we need to convert these strings individually.

Ignore op return "msgs" in etoken txs.

Test Plan: npm test

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

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

Details

Provenance
bytesofmanAuthored on Mar 2 2024, 04:34
bytesofmanPushed on Mar 2 2024, 13:35
Reviewer
Restricted Project
Differential Revision
D15607: [Cashtab] Fix bugs in parseChronikTx
Parents
rABCef572e09b239: [Cashtab] Create and test new wallet creation and validation functions
Branches
Unknown
Tags
Unknown