From e92d5a03334910850a1b70ff6898e4f68b183139 Mon Sep 17 00:00:00 2001 From: Javier Date: Tue, 1 Nov 2016 13:47:57 -0300 Subject: [PATCH] fix decimal --- src/js/controllers/amount.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/controllers/amount.js b/src/js/controllers/amount.js index a5ebe62df..5eee4d003 100644 --- a/src/js/controllers/amount.js +++ b/src/js/controllers/amount.js @@ -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