cleanup
This commit is contained in:
parent
2fb99dd7c1
commit
a0e4c9d3f8
2 changed files with 1 additions and 5 deletions
|
|
@ -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
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -47,7 +47,6 @@ angular.module('copayApp.services').factory('incomingData', function($log, $stat
|
|||
}
|
||||
|
||||
data = sanitizeUri(data);
|
||||
//data = 'msEVvmpiFEtXv3MdsFLUYMbnNLeNYrqBEA';
|
||||
|
||||
// BIP21
|
||||
if (bitcore.URI.isValid(data)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue