minor: initialize syncPeer.

This commit is contained in:
Christopher Jeffrey 2015-12-18 16:39:29 -08:00
parent cf502913b6
commit 086b32cb73

View File

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