Fix bug on send transaction about float precision
This commit is contained in:
parent
29c8d0ba00
commit
953269d83b
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ angular.module('copayApp.controllers').controller('SendController',
|
||||||
$scope.loading = true;
|
$scope.loading = true;
|
||||||
|
|
||||||
var address = form.address.$modelValue;
|
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;
|
var w = $rootScope.wallet;
|
||||||
w.createTx(address, amount,function() {
|
w.createTx(address, amount,function() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue