HomePhabricator

[Cashtab] Move parseOpReturn and unit tests to cashMethods

Description

[Cashtab] Move parseOpReturn and unit tests to cashMethods

Summary:
As per T2101, moved parseOpReturn function and corresponding unit tests to cashMethods.
This is a prerequisite for T2015.

Test Plan:
npm start
test with an outbound normal message with a single recipient tx and message label shows cashtab message
test with an outbound normal message with a multi recipient tx and message label shows cashtab message
test with an outbound encrypted message with a single recipient tx and message label shows cashtab message
test with an inbound normal message from electrum with a single recipient tx and message label shows external message
test an outbound long message
test an outbound message with special symbols
ensure correct styling for encrypted and unencrypted messages

Reviewers: bytesofman, #bitcoin_abc

Reviewed By: bytesofman, #bitcoin_abc

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

Details

Provenance
emackAuthored on Jan 14 2022, 01:39
emackPushed on Jan 15 2022, 00:51
Reviewer
Restricted Project
Differential Revision
D10829: [Cashtab] Move parseOpReturn and unit tests to cashMethods
Parents
rABC1ea5404c2027: [avalanche] Add a mode to the proof registration to force accept it as a peer
Branches
Unknown
Tags
Unknown