Browse Source

Revised error message per feedback on PR.

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

2
lib/TransactionBuilder.js

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

Loading…
Cancel
Save