Revised error message per feedback on PR.

This commit is contained in:
Curtis Lacy 2014-08-18 15:26:06 -04:00
parent 49bd46b8b1
commit 798f8ad1be
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ TransactionBuilder.prototype._setInputMap = function() {
var scriptType = scriptPubKey.classify();
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());
inputMap.push({