From 086b32cb73c9bad7d185675c84448928390b8904 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Fri, 18 Dec 2015 16:39:29 -0800 Subject: [PATCH] minor: initialize syncPeer. --- lib/bcoin/pool.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/bcoin/pool.js b/lib/bcoin/pool.js index b2b2d69f..c1d206e7 100644 --- a/lib/bcoin/pool.js +++ b/lib/bcoin/pool.js @@ -62,6 +62,7 @@ function Pool(options) { this.bestHeight = 0; this.bestBlock = null; this.needSync = true; + this.syncPeer = null; this.peers = { // Peers that are loading blocks themselves