check for syncPeer on blockchain fork.
This commit is contained in:
parent
91618258e7
commit
7ffcc8e7f3
@ -374,6 +374,8 @@ Pool.prototype._addPeer = function _addPeer(backoff) {
|
||||
// Bad peer.
|
||||
// this.chain.on('fork', function(height, hash, checkpoint) {
|
||||
// // self.chain.resetLastCheckpoint(height);
|
||||
// if (!self.syncPeer)
|
||||
// return;
|
||||
// self.peers.bad.push(self.syncPeer);
|
||||
// self.startSync();
|
||||
// });
|
||||
|
||||
Loading…
Reference in New Issue
Block a user