From 5d36135c919668e4b0a1a4daf63ad1287834775b Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Tue, 28 Apr 2015 11:08:23 +1000 Subject: [PATCH] transaction: s/txout/txOut/ --- src/transaction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transaction.js b/src/transaction.js index a0db8b0..63705fa 100644 --- a/src/transaction.js +++ b/src/transaction.js @@ -223,7 +223,7 @@ Transaction.prototype.hashForSignature = function (inIndex, prevOutScript, hashT } else if ((hashType & 0x1f) === Transaction.SIGHASH_SINGLE) { var nOut = inIndex - // only lock-in the txout payee at same index as txIn + // only lock-in the txOut payee at same index as txIn // https://github.com/bitcoin/bitcoin/blob/master/src/test/sighash_tests.cpp#L60 if (nOut >= this.outs.length) return one