bip150: drop peers that do not auth.
This commit is contained in:
parent
1e1ee18e09
commit
db07d42803
@ -329,7 +329,7 @@ Peer.prototype._onBIP151 = function _onBIP151() {
|
|||||||
this.write(this.framer.authChallenge(this.bip150.toChallenge()));
|
this.write(this.framer.authChallenge(this.bip150.toChallenge()));
|
||||||
return this.bip150.wait(5000, function(err) {
|
return this.bip150.wait(5000, function(err) {
|
||||||
if (err)
|
if (err)
|
||||||
self._error(err, true);
|
return self._error(err);
|
||||||
self._onHandshake();
|
self._onHandshake();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user