Fix - 321 - Forgot a condition to check the translation
This commit is contained in:
parent
cdb9b54b58
commit
f7e090cd20
1 changed files with 4 additions and 2 deletions
|
|
@ -38,8 +38,10 @@ angular.module('copayApp.controllers').controller('searchController', function($
|
|||
* These two lines should be removed.. because tx.addressTo does not exist.
|
||||
* The address is in tx.outputs[..].address, cf. the JSON
|
||||
*/
|
||||
var addr = bitcoinCashJsService.translateAddresses(addressTo);
|
||||
addressTo = addr.legacy + addr.bitpay + 'bitcoincash:' + addr.cashaddr
|
||||
if (addressTo) {
|
||||
var addr = bitcoinCashJsService.translateAddresses(addressTo);
|
||||
addressTo = addr.legacy + addr.bitpay + 'bitcoincash:' + addr.cashaddr
|
||||
}
|
||||
|
||||
/**
|
||||
* For each address (normally only one)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue