From ae0001ce37fd3948c1bf2b542c9dafe41963f5dc Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Thu, 13 Aug 2015 19:07:09 +1000 Subject: [PATCH] TxBuilder: more explicit comment for address type parameter --- src/transaction_builder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transaction_builder.js b/src/transaction_builder.js index 69d4397..9914713 100644 --- a/src/transaction_builder.js +++ b/src/transaction_builder.js @@ -183,7 +183,7 @@ TransactionBuilder.prototype.addOutput = function (scriptPubKey, value) { return (input.hashType & 0x1f) === Transaction.SIGHASH_SINGLE }), 'No, this would invalidate signatures') - // Attempt to get a valid address if it's a base58 address string + // Attempt to get a script if it's a base58 address string if (typeof scriptPubKey === 'string') { scriptPubKey = Address.toOutputScript(scriptPubKey, this.network) }