TransactionBuilder: fix duplicate txOut detection

This commit is contained in:
Daniel Cousens 2016-09-28 01:05:15 +10:00
parent 76c7c77311
commit 9e5aac8bac

View file

@ -246,7 +246,7 @@ TransactionBuilder.prototype.__addInputUnsafe = function (txHash, vout, sequence
var vin = this.tx.addInput(txHash, vout, sequence, scriptSig)
this.inputs[vin] = input
this.prevTxMap[prevTxOut] = vin
this.prevTxMap[prevTxOut] = true
return vin
}