From 4bc5317b63b24a3190bafe1bac02b2c0fc2af814 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Thu, 21 Jun 2018 01:48:54 -0500 Subject: [PATCH] fixed leftover break in core --- .gitignore | 1 + onionr/communicator2.py | 1 + onionr/core.py | 2 -- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 3c70da06..6edc23ff 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ run.sh onionr/data-encrypted.dat onionr/.onionr-lock core +.vscode/* diff --git a/onionr/communicator2.py b/onionr/communicator2.py index ccddc1cf..e726d46b 100755 --- a/onionr/communicator2.py +++ b/onionr/communicator2.py @@ -63,6 +63,7 @@ class OnionrCommunicatorDaemon: OnionrCommunicatorTimers(self, self.getOnlinePeers, 60) OnionrCommunicatorTimers(self, self.lookupBlocks, 7) OnionrCommunicatorTimers(self, self.getBlocks, 10) + #TODO: sync keys/peers # Main daemon loop, mainly for calling timers, do not do any complex operations here while not self.shutdown: diff --git a/onionr/core.py b/onionr/core.py index 91d72e7e..1d0cc6b7 100644 --- a/onionr/core.py +++ b/onionr/core.py @@ -722,8 +722,6 @@ class Core: powToken = powToken.decode() except AttributeError: pass - finally: - break # compile metadata metadata['meta'] = jsonMeta