From 953269d83b772f5d641a923c4730ee08e9f55d99 Mon Sep 17 00:00:00 2001 From: Yemel Jardi Date: Wed, 4 Jun 2014 17:40:10 -0300 Subject: [PATCH] Fix bug on send transaction about float precision --- js/controllers/send.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/controllers/send.js b/js/controllers/send.js index 73569b501..bfe939834 100644 --- a/js/controllers/send.js +++ b/js/controllers/send.js @@ -46,7 +46,7 @@ angular.module('copayApp.controllers').controller('SendController', $scope.loading = true; var address = form.address.$modelValue; - var amount = (form.amount.$modelValue * 100000000).toString(); // satoshi to string + var amount = (form.amount.$modelValue * 100000000).toFixed(); // satoshi to string var w = $rootScope.wallet; w.createTx(address, amount,function() {