jshint: remove unused variables

This commit is contained in:
Daniel Cousens 2014-06-16 01:27:05 +10:00
parent d8fdd50950
commit 2a267b62e6
3 changed files with 2 additions and 4 deletions

View file

@ -128,7 +128,7 @@ Transaction.prototype.toBuffer = function () {
writeUInt32(this.version)
writeVarInt(this.ins.length)
this.ins.forEach(function(txin, i) {
this.ins.forEach(function(txin) {
writeSlice(txin.outpoint.hash)
writeUInt32(txin.outpoint.index)
writeVarInt(txin.script.buffer.length)