support legacy addresses for cash if bitcoincash: handler is used

This commit is contained in:
matiu 2017-09-15 12:33:17 -03:00
commit 5f231594b4
2 changed files with 51 additions and 2 deletions

View file

@ -309,7 +309,11 @@ angular.module('copayApp.controllers').controller('amountController', function($
if (a) {
$scope.alternativeAmount = txFormatService.formatAmount(a * unitToSatoshi, true);
} else {
$scope.alternativeAmount = 'N/A'; //TODO
if (result) {
$scope.alternativeAmount = 'N/A';
} else {
$scope.alternativeAmount = null;
}
$scope.allowSend = false;
}
} else {