coinselect
Advanced tools
Comparing version 3.1.8 to 3.1.9
@@ -20,3 +20,6 @@ var utils = require('./utils') | ||
// skip detrimental input | ||
if (utxoFee > utxo.value) continue | ||
if (utxoFee > utxo.value) { | ||
if (i === utxos.length - 1) return { fee: feeRate * (bytesAccum + utxoBytes) } | ||
continue | ||
} | ||
@@ -23,0 +26,0 @@ bytesAccum += utxoBytes |
{ | ||
"name": "coinselect", | ||
"version": "3.1.8", | ||
"version": "3.1.9", | ||
"description": "A transaction input selection module for bitcoin.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
10331
186