From 3e2d4aa717cae3de2d80994d70958632ff437ea2 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Thu, 19 May 2016 00:44:06 -0700 Subject: [PATCH] remove old getSeed code. --- lib/bcoin/pool.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/bcoin/pool.js b/lib/bcoin/pool.js index b5dc2792..198891c0 100644 --- a/lib/bcoin/pool.js +++ b/lib/bcoin/pool.js @@ -1810,12 +1810,6 @@ Pool.prototype.getSeed = function getSeed(priority) { if (!this.peers.load) return; - // Need at least one block peer. - if (this.originalSeeds.length + this.seeds.length === 1) { - assert(this.originalSeeds[0]); - return this.originalSeeds[0]; - } - addr = this._getRandom(this.originalSeeds, true); if (addr) return addr;