transaction: no i variable shadow

This commit is contained in:
Daniel Cousens 2016-12-10 11:41:12 +11:00 committed by Daniel Cousens
parent abf922e808
commit c81f561f3e

View file

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