jshint: remove unused variables
This commit is contained in:
parent
d8fdd50950
commit
2a267b62e6
3 changed files with 2 additions and 4 deletions
|
@ -1,5 +1,3 @@
|
|||
var T = require('./transaction')
|
||||
|
||||
module.exports = {
|
||||
Address: require('./address'),
|
||||
base58: require('./base58'),
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -169,7 +169,7 @@ function Wallet(seed, network) {
|
|||
}
|
||||
})
|
||||
|
||||
tx.ins.forEach(function(txIn, i) {
|
||||
tx.ins.forEach(function(txIn) {
|
||||
var op = txIn.outpoint
|
||||
|
||||
// copy and convert to big-endian hex
|
||||
|
|
Loading…
Add table
Reference in a new issue