TxBuilder: remove unnecessary assert

This commit is contained in:
Daniel Cousens 2014-07-25 15:49:42 +10:00
parent 14211b5f3e
commit 1e3e003120
2 changed files with 0 additions and 8 deletions

View file

@ -24,8 +24,6 @@ TransactionBuilder.prototype.addInput = function(prevTx, index, prevOutScript) {
Array.prototype.reverse.call(prevOutHash)
} else if (prevTx instanceof Transaction) {
assert(prevOutScript === undefined, 'Unnecessary Script provided')
prevOutHash = prevTx.getHash()
prevOutScript = prevTx.outs[index].script