From 5813190cc41a6c0b3825992f9797e847bd8f08c3 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Mon, 7 May 2018 02:46:07 -0500 Subject: [PATCH] work on pow for public keys --- onionr/core.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/onionr/core.py b/onionr/core.py index 91a74014..2920bdee 100644 --- a/onionr/core.py +++ b/onionr/core.py @@ -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()