mirror of https://github.com/nucypher/nucypher.git
Actually, we can just go straight to learning from the teacher now. Fixes #557.
parent
852816e7ec
commit
78aeee44c5
|
@ -330,7 +330,7 @@ class Learner:
|
|||
return False
|
||||
elif now:
|
||||
self.load_seednodes()
|
||||
self._learning_task() # Unhandled error might happen here. TODO: Call this in a safer place.
|
||||
self.learn_from_teacher_node()
|
||||
self.learning_deferred = self._learning_task.start(interval=self._SHORT_LEARNING_DELAY)
|
||||
self.learning_deferred.addErrback(self.handle_learning_errors)
|
||||
return self.learning_deferred
|
||||
|
|
Loading…
Reference in New Issue