pool: minor.
This commit is contained in:
parent
1356a3c7ab
commit
3f874b31e5
@ -1941,7 +1941,7 @@ Pool.prototype.isMisbehaving = function isMisbehaving(host) {
|
||||
*/
|
||||
|
||||
Pool.prototype.ignore = function ignore(peer) {
|
||||
this.logger.debug('Ignoring peer (%s).', peer.host);
|
||||
this.logger.debug('Ignoring peer (%s).', peer.hostname);
|
||||
if (!this.removeHost(peer.host))
|
||||
this.peers.ignored[peer.host] = true;
|
||||
peer.destroy();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user