fixed leftover break in core

master
Kevin Froman 2018-06-21 01:48:54 -05:00
parent 0087e04f57
commit 4bc5317b63
3 changed files with 2 additions and 2 deletions

1
.gitignore vendored
View File

@ -12,3 +12,4 @@ run.sh
onionr/data-encrypted.dat onionr/data-encrypted.dat
onionr/.onionr-lock onionr/.onionr-lock
core core
.vscode/*

View File

@ -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:

View File

@ -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