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.' +
f' Last node seen {last_seen} ago.')
try:
get_online_peers(kv)
get_online_peers(shared_state)
except RecursionError:
pass
else: