transaction: no i variable shadow
This commit is contained in:
parent
abf922e808
commit
c81f561f3e
1 changed files with 2 additions and 2 deletions
|
@ -278,8 +278,8 @@ Transaction.prototype.hashForSignature = function (inIndex, prevOutScript, hashT
|
|||
}
|
||||
|
||||
// ignore sequence numbers (except at inIndex)
|
||||
txTmp.ins.forEach(function (input, i) {
|
||||
if (i === inIndex) return
|
||||
txTmp.ins.forEach(function (input, y) {
|
||||
if (y === inIndex) return
|
||||
|
||||
input.sequence = 0
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue