Merge pull request #492 from curtislacy/Pubkey-Error
Clarified error message when we encounter an unknown script pubkey
This commit is contained in:
commit
15525efbcc
|
@ -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 scriptPubKey type at:' + i +
|
||||
' Type:' + scriptPubKey.getRawOutType());
|
||||
|
||||
inputMap.push({
|
||||
|
|
Loading…
Reference in New Issue