Skip to content

Commit

Permalink
Update nucypher/network/nodes.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KPrasch committed Jan 30, 2024
1 parent 4c28e5c commit 7cccbe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nucypher/network/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ def select_teacher_nodes(self):

if not nodes_we_know_about:
self.log.warn("Need some nodes to start learning from.")
return False
raise self.NotEnoughTeachers("Need some nodes to start learning from.")

self.teacher_nodes.extend(nodes_we_know_about)

Expand Down

0 comments on commit 7cccbe9

Please sign in to comment.