From 64d9f72f776111c30571ccf50980a0fa26776d09 Mon Sep 17 00:00:00 2001 From: Dabura667 Date: Wed, 10 Jan 2018 23:54:38 +0900 Subject: [PATCH] Update comment fixes #979 --- 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 5760fac..0ab54be 100644 --- a/src/transaction_builder.js +++ b/src/transaction_builder.js @@ -604,7 +604,7 @@ TransactionBuilder.prototype.addOutput = function (scriptPubKey, value) { throw new Error('No, this would invalidate signatures') } - // Attempt to get a script if it's a base58 address string + // Attempt to get a script if it's a base58 or bech32 address string if (typeof scriptPubKey === 'string') { scriptPubKey = baddress.toOutputScript(scriptPubKey, this.network) }