HomePhabricator

[Cashtab] Move parseAddressForParams out of Ticker.js

Description

[Cashtab] Move parseAddressForParams out of Ticker.js

Summary: Similar to D14102, this diff moves the parseAddressForParams function out of Ticker.js and into cashMethods.

Test Plan:

  • grep -r parseAddressForParams src/ and ensure all import statements are referring to cashMethods.js rather than Ticker.js
  • npm test
  • npm start
  • regression test scanning of a valid and invalid QR code for address (use https://d14115.netlify.app/ on phone)
  • regression test signing and verifying signatures
  • regression test sending a token to an ecash address
  • regression test sending XEC to an ecash address

Reviewers: bytesofman, #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
emackAuthored on Jun 24 2023, 13:16
emackPushed on Jun 26 2023, 15:15
Reviewer
Restricted Project
Differential Revision
D14116: [Cashtab] Move parseAddressForParams out of Ticker.js
Parents
rABC00ecb4ef0c65: [Cashtab] Move defaultSettings out of Ticker.js
Branches
Unknown
Tags
Unknown