Page MenuHomePhabricator

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

Authored by emack on Jan 13 2022, 11:48.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Branch
opreturnStringLogic
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 17898
Build 35619: Build Diffcashtab-tests
Build 35618: arc lint + arc unit