diff --git a/lib/net/pool.js b/lib/net/pool.js index b4d57bc9..40896e52 100644 --- a/lib/net/pool.js +++ b/lib/net/pool.js @@ -587,7 +587,6 @@ Pool.prototype.stopSync = function stopSync() { */ Pool.prototype.sendSync = co(function* sendSync(peer) { - var tip = this.chain.tip; var locator; if (!this.syncing) diff --git a/lib/utils/ip.js b/lib/utils/ip.js index 86456117..81ffa50f 100644 --- a/lib/utils/ip.js +++ b/lib/utils/ip.js @@ -24,7 +24,6 @@ var RFC6052 = new Buffer('0064ff9b0000000000000000', 'hex'); var RFC4862 = new Buffer('fe80000000000000', 'hex'); var RFC6145 = new Buffer('0000000000000000ffff0000', 'hex'); var TOR_ONION = new Buffer('fd87d87eeb43', 'hex'); -var V4MAP = new Buffer('00000000000000000000ffff', 'hex'); var SHIFTED = new Buffer('00000000000000ffff', 'hex'); var IPV4_REGEX = /^(\d{1,3}\.){3}\d{1,3}$/;