Added hops display to node info. Fixed node info display for unknown ops and addresses.

This commit is contained in:
Mark Qvist 2022-04-06 21:41:58 +02:00
parent 8b84864847
commit 4ff99688de
2 changed files with 21 additions and 3 deletions

View file

@ -131,7 +131,7 @@ class Node:
except Exception as e:
RNS.log("Error while fetching list of allowed identities for request: "+str(e), RNS.LOG_ERROR)
if remote_identity.hash in allowed_list:
if hasattr(remote_identity, "hash") and remote_identity.hash in allowed_list:
request_allowed = True
else:
request_allowed = False