pool: minor.

This commit is contained in:
Christopher Jeffrey 2016-07-25 14:44:33 -07:00
parent 1356a3c7ab
commit 3f874b31e5
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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();