From: Forrest Voight Date: Sun, 11 Dec 2011 08:02:00 +0000 (-0500) Subject: Made "Connected to peer" message include protocol version X-Git-Tag: 0.8.2~133 X-Git-Url: https://git.novaco.in/?a=commitdiff_plain;h=d27e7b7a97c21c7735c0f9f77fec555eb94c317f;p=p2pool.git Made "Connected to peer" message include protocol version --- diff --git a/p2pool/p2p.py b/p2pool/p2p.py index 5dd6441..e642538 100644 --- a/p2pool/p2p.py +++ b/p2pool/p2p.py @@ -324,7 +324,7 @@ class Node(object): raise ValueError('already have peer') self.peers[conn.nonce] = conn - print 'Connected to peer %s:%i. p2pool version: %r' % (conn.addr[0], conn.addr[1], conn.other_sub_version) + print 'Connected to peer %s:%i. p2pool version: %i %r' % (conn.addr[0], conn.addr[1], conn.other_version, conn.other_sub_version) def lost_conn(self, conn): if conn.nonce not in self.peers: