Browse Source

Made the error message when we encounter an unknown script pubkey more clear.

patch-2
Curtis Lacy 11 years ago
parent
commit
49bd46b8b1
  1. 2
      lib/TransactionBuilder.js

2
lib/TransactionBuilder.js

@ -201,7 +201,7 @@ TransactionBuilder.prototype._setInputMap = function() {
var scriptType = scriptPubKey.classify();
if (scriptType === Script.TX_UNKNOWN)
throw new Error('unkown output type at:' + i +
throw new Error('Unknown script pubkey type at:' + i +
' Type:' + scriptPubKey.getRawOutType());
inputMap.push({

Loading…
Cancel
Save