fix type
This commit is contained in:
parent
4821567b1d
commit
7a610c1b5b
4 changed files with 5 additions and 5 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue