Fix wording. Error handler improved

This commit is contained in:
Gustavo Maximiliano Cortez 2017-07-26 16:13:57 -03:00
commit e7f8e2c235
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
8 changed files with 44 additions and 24 deletions

View file

@ -110,7 +110,7 @@ angular.module('copayApp.controllers').controller('buyMercadoLibreController', f
var outputs = [];
var toAddress = invoice.bitcoinAddress;
var amountSat = parseInt(invoice.btcDue * 100000000); // BTC to Satoshi
var amountSat = parseInt((invoice.btcDue * 100000000).toFixed(0)); // BTC to Satoshi
outputs.push({
'toAddress': toAddress,