diff --git a/src/transaction.js b/src/transaction.js index f2377a6..09a416d 100644 --- a/src/transaction.js +++ b/src/transaction.js @@ -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 })