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 24, 2024
1 parent 98721f0 commit 9939440
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 9939440

Please sign in to comment.