From ee08278654e15a5044556bcb888641c3bd58eb9f Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Thu, 21 Jul 2016 12:38:31 -0700 Subject: [PATCH] lint. --- lib/bcoin/bip152.js | 1 - lib/bcoin/http/wallet.js | 1 - lib/bcoin/peer.js | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/bcoin/bip152.js b/lib/bcoin/bip152.js index 786d2c11..154eabc1 100644 --- a/lib/bcoin/bip152.js +++ b/lib/bcoin/bip152.js @@ -11,7 +11,6 @@ var utils = require('./utils'); var assert = utils.assert; var constants = bcoin.protocol.constants; var siphash = require('./siphash'); -var bn = require('bn.js'); var AbstractBlock = bcoin.abstractblock; /** diff --git a/lib/bcoin/http/wallet.js b/lib/bcoin/http/wallet.js index 92a79bc2..920e1ab0 100644 --- a/lib/bcoin/http/wallet.js +++ b/lib/bcoin/http/wallet.js @@ -9,7 +9,6 @@ var bcoin = require('../env'); var EventEmitter = require('events').EventEmitter; -var assert = require('assert'); var utils = require('../utils'); var http = require('./'); diff --git a/lib/bcoin/peer.js b/lib/bcoin/peer.js index 752dfd0f..3d76447f 100644 --- a/lib/bcoin/peer.js +++ b/lib/bcoin/peer.js @@ -1400,7 +1400,7 @@ Peer.prototype._getItem = function _getItem(item, callback) { item.hasWitness() ? 'witness' : 'normal', this.hostname); - entry.ack(peer); + entry.ack(this); if (entry.msg) return callback(null, entry.msg);