TransactionBuilder: fix duplicate txOut detection
This commit is contained in:
parent
76c7c77311
commit
9e5aac8bac
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ TransactionBuilder.prototype.__addInputUnsafe = function (txHash, vout, sequence
|
||||||
|
|
||||||
var vin = this.tx.addInput(txHash, vout, sequence, scriptSig)
|
var vin = this.tx.addInput(txHash, vout, sequence, scriptSig)
|
||||||
this.inputs[vin] = input
|
this.inputs[vin] = input
|
||||||
this.prevTxMap[prevTxOut] = vin
|
this.prevTxMap[prevTxOut] = true
|
||||||
|
|
||||||
return vin
|
return vin
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue