work on pow for public keys

This commit is contained in:
Kevin Froman 2018-05-07 02:46:07 -05:00
parent d0994b8ef6
commit 5813190cc4

View File

@ -457,7 +457,10 @@ class Core:
except TypeError:
pass
if getPow:
peerList.append(self._crypto.pubKey + '-' + self._crypto.pubKeyPowToken)
try:
peerList.append(self._crypto.pubKey + '-' + self._crypto.pubKeyPowToken)
except TypeError:
pass
else:
peerList.append(self._crypto.pubKey)
conn.close()