HomePhabricator

[Cashtab] Handle parsing errors for off-spec alias registrations

Description

[Cashtab] Handle parsing errors for off-spec alias registrations

Summary: parseChronikTx needs a fallback if parsedOpReturnArray[2] does not exist, as may be the case for pre-spec test alias registrations or any tx with the alias registration lokad id in the OP_RETURN.

Test Plan: npm test

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
bytesofmanAuthored on Jan 25 2024, 00:18
bytesofmanPushed on Jan 25 2024, 14:41
Reviewer
Restricted Project
Differential Revision
D15274: [Cashtab] Handle parsing errors for off-spec alias registrations
Parents
rABC26c4d516f9d2: [Cashtab] Support bip21 param from URL
Branches
Unknown
Tags
Unknown