HomePhabricator

[Cashtab] Improve isValidContactList function and tests

Description

[Cashtab] Improve isValidContactList function and tests

Summary:
Wallets with aliases in contact list currently throw the list out and do not set to context. Patch this.

Migrate legacy tests to vectors to improve readability. Add new vector for alias case.

Test Plan: npm test

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Subscribers: emack

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

Details

Provenance
bytesofmanAuthored on Jan 31 2024, 19:07
bytesofmanPushed on Feb 1 2024, 00:34
Reviewer
Restricted Project
Differential Revision
D15347: [Cashtab] Improve isValidContactList function and tests
Parents
rABCe53318a95b5d: [Cashtab] Update SignVerifyMsg with direct calls to antd notifications
Branches
Unknown
Tags
Unknown