This commit is contained in:
Marty Alcala 2016-10-21 11:54:47 -04:00
commit a0e4c9d3f8
2 changed files with 1 additions and 5 deletions

View file

@ -188,7 +188,6 @@ angular.module('copayApp.controllers').controller('amountController', function($
};
$scope.finish = function() {
console.log('in finish');
var _amount = evaluate(format($scope.amount));
if ($scope.cardId) {
@ -226,15 +225,13 @@ angular.module('copayApp.controllers').controller('amountController', function($
});
} else {
console.log('about to transitionTo');
var amount = $scope.showAlternativeAmount ? fromFiat(_amount).toFixed(unitDecimals) : _amount.toFixed(unitDecimals);
$state.transitionTo('tabs.send.confirm', {
isWallet: $scope.isWallet,
toAmount: amount * unitToSatoshi,
toAddress: $scope.toAddress,
toName: $scope.toName,
toEmail: $scope.toEmail//,
//paypro: {hi: 'there'}
toEmail: $scope.toEmail
});
}
};

View file

@ -47,7 +47,6 @@ angular.module('copayApp.services').factory('incomingData', function($log, $stat
}
data = sanitizeUri(data);
//data = 'msEVvmpiFEtXv3MdsFLUYMbnNLeNYrqBEA';
// BIP21
if (bitcore.URI.isValid(data)) {