HomePhabricator

[Cashtab] Moved opReturnMsg string conversion logic from Tx.js to parseTxData…

Description

[Cashtab] Moved opReturnMsg string conversion logic from Tx.js to parseTxData in useBCH.js

Summary: As per T2155, moved opReturnMsg string conversion logic from Tx.js to parseTxData in useBCH.js

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/D10821

Details

Provenance
emackAuthored on Jan 13 2022, 11:47
emackPushed on Jan 20 2022, 00:02
Reviewer
Restricted Project
Differential Revision
D10821: [Cashtab] Moved opReturnMsg string conversion logic from Tx.js to parseTxData in useBCH.js
Parents
rABC939f819b649f: [Cashtab] cache api calls with Service Worker
Branches
Unknown
Tags
Unknown