work on pm and fixed broken pex when none

This commit is contained in:
Kevin Froman 2018-04-03 19:34:15 -05:00
parent a611643526
commit 8d261b03dc
No known key found for this signature in database
GPG key ID: 0D414D0FE405B63B
4 changed files with 18 additions and 7 deletions

View file

@ -256,7 +256,7 @@ class Onionr:
except KeyboardInterrupt:
break
else:
if self.onionrUtils.validateID(peer):
if self.onionrUtils.validatePubKey(peer):
break
else:
logger.error('Invalid peer ID')