transaction: s/txout/txOut/

This commit is contained in:
Daniel Cousens 2015-04-28 11:08:23 +10:00
parent 833bf9fa86
commit 5d36135c91

View file

@ -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