remove redundant check for very small utxos
This commit is contained in:
parent
c01d1568bb
commit
49791bcfdf
|
@ -1342,11 +1342,6 @@ WalletService.prototype._selectTxInputs = function(txp, utxosToExclude, cb) {
|
|||
_.each(smallInputs, function(input, i) {
|
||||
log.debug('Input #' + i + ': ' + Utils.formatUtxos(input));
|
||||
|
||||
if (input.satoshis < feePerInput) {
|
||||
log.debug('The input does not cover the extra fees (' + Utils.formatAmountInBtc(feePerInput) + ')');
|
||||
return false;
|
||||
}
|
||||
|
||||
var netInputAmount = input.satoshis - feePerInput;
|
||||
|
||||
log.debug('The input contributes ' + Utils.formatAmountInBtc(netInputAmount));
|
||||
|
|
Loading…
Reference in New Issue