fix amount
This commit is contained in:
parent
6ce01155d4
commit
172ae4ae52
1 changed files with 2 additions and 2 deletions
|
|
@ -239,10 +239,10 @@ angular.module('copayApp.controllers').controller('amountController', function($
|
|||
});
|
||||
|
||||
} else {
|
||||
var amount = $scope.showAlternativeAmount ? fromFiat(_amount).toFixed(unitDecimals) : _amount.toFixed(unitDecimals);
|
||||
var amount = $scope.showAlternativeAmount ? fromFiat(_amount) : _amount;
|
||||
$state.transitionTo('tabs.send.confirm', {
|
||||
isWallet: $scope.isWallet,
|
||||
toAmount: amount * unitToSatoshi,
|
||||
toAmount: (amount * unitToSatoshi).toFixed(unitDecimals),
|
||||
toAddress: $scope.toAddress,
|
||||
toName: $scope.toName,
|
||||
toEmail: $scope.toEmail
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue