Skip to content
Snippets Groups Projects
Commit d713cf05 authored by inso's avatar inso
Browse files

Fix issue #514

parent 1f25b74d
No related branches found
No related tags found
No related merge requests found
......@@ -225,7 +225,7 @@ class Community(QObject):
req_args={'number': block_number})
return block['medianTime']
except errors.DuniterError as e:
if e.ucode == errors.BLOCK_NOT_FOUND:
logging.debug(str(e))
return 0
except NoPeerAvailable as e:
logging.debug(str(e))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment