Streamlined display of memo.
This commit is contained in:
parent
09f627ea51
commit
7d1fff424a
1 changed files with 3 additions and 5 deletions
|
|
@ -445,11 +445,9 @@ function reviewController(addressbookService, bitcoinCashJsService, bitcore, bit
|
||||||
|
|
||||||
function handleThirdPartyInitIfBip70() {
|
function handleThirdPartyInitIfBip70() {
|
||||||
if (vm.thirdParty.id === 'bip70') {
|
if (vm.thirdParty.id === 'bip70') {
|
||||||
if (vm.thirdParty.memo) {
|
vm.memo = vm.thirdParty.memo;
|
||||||
// Why not the whole memo?
|
vm.memoExpanded = !!vm.memo;
|
||||||
vm.memo = 'Payment request for BitPay invoice.\n' + toAddress + ' for merchant';
|
|
||||||
vm.memoExpanded = true;
|
|
||||||
}
|
|
||||||
txPayproData = {
|
txPayproData = {
|
||||||
caTrusted: vm.thirdParty.caTrusted,
|
caTrusted: vm.thirdParty.caTrusted,
|
||||||
domain: vm.thirdParty.domain,
|
domain: vm.thirdParty.domain,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue