Browse Source

jshint: remove unused variables

hk-custom-address
Daniel Cousens 11 years ago
parent
commit
2a267b62e6
  1. 2
      src/index.js
  2. 2
      src/transaction.js
  3. 2
      src/wallet.js

2
src/index.js

@ -1,5 +1,3 @@
var T = require('./transaction')
module.exports = {
Address: require('./address'),
base58: require('./base58'),

2
src/transaction.js

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

2
src/wallet.js

@ -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…
Cancel
Save