Fix names

This commit is contained in:
Gustavo Maximiliano Cortez 2017-09-26 17:06:05 -03:00
commit 846321ae4e
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
2 changed files with 3 additions and 3 deletions

View file

@ -83,7 +83,7 @@ angular.module('copayApp.controllers').controller('confirmController', function(
try {
return B.Address(address).toString();
} catch(e) {
$scope.legacyBitcoinAddress = address;
$scope.legacyBitcoinCashAddress = address;
$log.warn('Convert to new bitcoin cash address format');
var a = bitcore.Address(address).toObject();
return bitcoreCash.Address.fromObject(a).toString();