fixed leftover break in core
This commit is contained in:
parent
0087e04f57
commit
4bc5317b63
1
.gitignore
vendored
1
.gitignore
vendored
@ -12,3 +12,4 @@ run.sh
|
|||||||
onionr/data-encrypted.dat
|
onionr/data-encrypted.dat
|
||||||
onionr/.onionr-lock
|
onionr/.onionr-lock
|
||||||
core
|
core
|
||||||
|
.vscode/*
|
||||||
|
@ -63,6 +63,7 @@ class OnionrCommunicatorDaemon:
|
|||||||
OnionrCommunicatorTimers(self, self.getOnlinePeers, 60)
|
OnionrCommunicatorTimers(self, self.getOnlinePeers, 60)
|
||||||
OnionrCommunicatorTimers(self, self.lookupBlocks, 7)
|
OnionrCommunicatorTimers(self, self.lookupBlocks, 7)
|
||||||
OnionrCommunicatorTimers(self, self.getBlocks, 10)
|
OnionrCommunicatorTimers(self, self.getBlocks, 10)
|
||||||
|
#TODO: sync keys/peers
|
||||||
|
|
||||||
# Main daemon loop, mainly for calling timers, do not do any complex operations here
|
# Main daemon loop, mainly for calling timers, do not do any complex operations here
|
||||||
while not self.shutdown:
|
while not self.shutdown:
|
||||||
|
@ -722,8 +722,6 @@ class Core:
|
|||||||
powToken = powToken.decode()
|
powToken = powToken.decode()
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
pass
|
pass
|
||||||
finally:
|
|
||||||
break
|
|
||||||
|
|
||||||
# compile metadata
|
# compile metadata
|
||||||
metadata['meta'] = jsonMeta
|
metadata['meta'] = jsonMeta
|
||||||
|
Loading…
Reference in New Issue
Block a user