minor: initialize syncPeer.
This commit is contained in:
parent
cf502913b6
commit
086b32cb73
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user