Page MenuHomePhabricator

[Cashtab] Patch selectedCurrency ticker reading as XEC in send confirmation modal
ClosedPublic

Authored by kieran709 on Aug 22 2022, 14:42.

Details

Summary

Related to T2617. When sending USD, the confirmation prompt will incorrectly show XEC. This diff changes the ticker used in the modal to match with the selectedCurrency state variable.

Test Plan

cd web/cashtab && npm start
navigate to settings screen and ensure send confirmations are turned on
navigate to Send screen
input a valid XEC address in the Send To field
in the amount drop down, select USD as the currency to send
input a valid amount in the Amount field
hit send
observe that the confirmation modal now displays the correct currency ticker

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable