bip150: drop peers that do not auth.

This commit is contained in:
Christopher Jeffrey 2016-08-23 05:50:45 -07:00
parent 1e1ee18e09
commit db07d42803
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -329,7 +329,7 @@ Peer.prototype._onBIP151 = function _onBIP151() {
this.write(this.framer.authChallenge(this.bip150.toChallenge()));
return this.bip150.wait(5000, function(err) {
if (err)
self._error(err, true);
return self._error(err);
self._onHandshake();
});
}