transaction: s/txout/txOut/
This commit is contained in:
parent
833bf9fa86
commit
5d36135c91
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue