diff --git a/src/transaction_builder.js b/src/transaction_builder.js index 0c02ce0..e10ca64 100644 --- a/src/transaction_builder.js +++ b/src/transaction_builder.js @@ -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 }