Browse Source

Merge pull request #391 from rxl/grammar-fix

fix grammar in 'not enough unspent tx outputs' error in tx builder
patch-2
Ryan X. Charles 10 years ago
parent
commit
690768e3ce
  1. 2
      lib/TransactionBuilder.js

2
lib/TransactionBuilder.js

@ -283,7 +283,7 @@ TransactionBuilder.prototype._selectUnspent = function(neededAmountSat) {
} while (!fulfill && minConfirmationSteps.length);
if (!fulfill)
throw new Error('no enough unspent to fulfill totalNeededAmount [SAT]:' +
throw new Error('not enough unspent tx outputs to fulfill totalNeededAmount [SAT]:' +
neededAmountSat);
this.selectedUtxos = sel;

Loading…
Cancel
Save