HomePhabricator

[Cashtab] Default wallet name to 1899 address

Description

[Cashtab] Default wallet name to 1899 address

Summary: When the user creates a new wallet in Cashtab, the default name is the first 5 characters of the wallet address. This is still set to the legacy path (145). This diff sets the default name to the first 5 chars of the Path1899 address, which is the displayed address.

Test Plan: npm start, navigate to settings, click 'New Wallet', observe the name of the new wallet, Activate the new wallet, observe that the displayed address on the wallet page matches the wallet's name.

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Joey King <joseph.roy.king@gmail.com>Authored on Jan 20 2021, 12:18
bytesofmanPushed on Jan 20 2021, 13:56
Reviewer
Restricted Project
Differential Revision
D8983: [Cashtab] Default wallet name to 1899 address
Parents
rABC4ffd405ed5ad: [Cashtab] Update api to /v4/
Branches
Unknown
Tags
Unknown

Event Timeline