From 798f8ad1beb4353030fef799812c7cb054cc0c5c Mon Sep 17 00:00:00 2001 From: Curtis Lacy Date: Mon, 18 Aug 2014 15:26:06 -0400 Subject: [PATCH] Revised error message per feedback on PR. --- lib/TransactionBuilder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/TransactionBuilder.js b/lib/TransactionBuilder.js index df5d02c..40e544d 100644 --- a/lib/TransactionBuilder.js +++ b/lib/TransactionBuilder.js @@ -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({