fix onlinepeers decoupling

This commit is contained in:
Kevin 2020-08-04 08:44:24 -05:00
parent 4cf17ffe62
commit 086f2f718c

View File

@ -56,7 +56,7 @@ def get_online_peers(shared_state):
logger.debug('Couldn\'t connect to any peers.' + logger.debug('Couldn\'t connect to any peers.' +
f' Last node seen {last_seen} ago.') f' Last node seen {last_seen} ago.')
try: try:
get_online_peers(kv) get_online_peers(shared_state)
except RecursionError: except RecursionError:
pass pass
else: else: