This commit is contained in:
Matias Alejo Garcia 2014-11-03 17:28:36 -03:00
commit 7a610c1b5b
4 changed files with 5 additions and 5 deletions

View file

@ -378,7 +378,6 @@ angular.module('copayApp.controllers').controller('SendController',
$scope.getAvailableAmount = function() {
if (!$rootScope.safeUnspentCount) return null;
// Each signature takes
var estimatedFee = copay.Wallet.estimatedFee($rootScope.safeUnspentCount);
var amount = ((($rootScope.availableBalance * w.settings.unitToSatoshi).toFixed(0) - estimatedFee) / w.settings.unitToSatoshi);

View file

@ -2335,9 +2335,8 @@ Wallet.prototype.createTx = function(toAddress, amountSatStr, comment, opts, cb)
var ntxid;
try {
ntxid = self.createTxSync(toAddress, amountSatStr, comment, safeUnspent, opts);
log.debub('TX Created: ntxid', ntxid); //TODO
log.debug('TX Created: ntxid', ntxid); //TODO
} catch (e) {
console.log('[Wallet.js.2340]', e); //TODO
return cb(e);
}