Browse Source

transaction: no i variable shadow

hk-custom-address
Daniel Cousens 8 years ago
committed by Daniel Cousens
parent
commit
c81f561f3e
  1. 4
      src/transaction.js

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

Loading…
Cancel
Save