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)
|
// ignore sequence numbers (except at inIndex)
|
||||||
txTmp.ins.forEach(function (input, i) {
|
txTmp.ins.forEach(function (input, y) {
|
||||||
if (i === inIndex) return
|
if (y === inIndex) return
|
||||||
|
|
||||||
input.sequence = 0
|
input.sequence = 0
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue