Skip to content

Commit

Permalink
reject v13 connections
Browse files Browse the repository at this point in the history
  • Loading branch information
forrestv committed Jul 6, 2015
1 parent b07b1e3 commit 18b5ad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2pool/p2p.py
Expand Up @@ -144,7 +144,7 @@ def sendAdvertisement(self):
def handle_version(self, version, services, addr_to, addr_from, nonce, sub_version, mode, best_share_hash):
if self.other_version is not None:
raise PeerMisbehavingError('more than one version message')
if version < 1300:
if version < 1400:
raise PeerMisbehavingError('peer too old')

self.other_version = version
Expand Down

0 comments on commit 18b5ad5

Please sign in to comment.