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
Lint
Lint Not Applicable
Unit
Tests Not Applicable