don't drop peers for any reason
authorForrest Voight <forrest@forre.st>
Fri, 18 May 2012 04:43:23 +0000 (00:43 -0400)
committerForrest Voight <forrest@forre.st>
Fri, 18 May 2012 04:43:33 +0000 (00:43 -0400)
p2pool/p2p.py

index 0d6f5ef..19547f4 100644 (file)
@@ -69,6 +69,7 @@ class Protocol(p2protocol.Protocol):
                 raise PeerMisbehavingError('first message was not version message')
             p2protocol.Protocol.packetReceived(self, command, payload2)
         except PeerMisbehavingError, e:
+            return
             print 'Peer %s:%i misbehaving, will drop and ban. Reason:' % self.addr, e.message
             self.badPeerHappened()