Browse Source

TransactionBuilder: fix duplicate txOut detection

hk-custom-address
Daniel Cousens 8 years ago
parent
commit
9e5aac8bac
  1. 2
      src/transaction_builder.js

2
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
}

Loading…
Cancel
Save