fix decimal

This commit is contained in:
Javier 2016-11-01 13:47:57 -03:00
commit e92d5a0333

View file

@ -242,7 +242,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
var amount = $scope.showAlternativeAmount ? fromFiat(_amount) : _amount;
$state.transitionTo('tabs.send.confirm', {
isWallet: $scope.isWallet,
toAmount: (amount * unitToSatoshi).toFixed(unitDecimals),
toAmount: (amount * unitToSatoshi).toFixed(0),
toAddress: $scope.toAddress,
toName: $scope.toName,
toEmail: $scope.toEmail