From 4008caff51e8a3a6e23f5afaf3ad915135608cea Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sat, 21 Jan 2017 03:49:44 -0800 Subject: [PATCH] peer: minor. --- lib/net/peer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net/peer.js b/lib/net/peer.js index 92df0938..960be032 100644 --- a/lib/net/peer.js +++ b/lib/net/peer.js @@ -328,7 +328,7 @@ Peer.prototype.setCipher = function setCipher(cipher) { if (self.destroyed) return; - self.logger.debug('Rekeying with peer (%s).', self.hostname); + self.logger.debug('Rekeying with peer (%s).', self.hostname()); self.send(self.bip151.toRekey()); });