diff --git a/nucypher/characters/lawful.py b/nucypher/characters/lawful.py index 0118b084e..df4bfb3f6 100644 --- a/nucypher/characters/lawful.py +++ b/nucypher/characters/lawful.py @@ -619,6 +619,9 @@ class Bob(Character): if num_ursulas == len(generated_work_orders): break + if generated_work_orders == OrderedDict(): + self.log.war("No new WorkOrders created. Try calling this with different parameters.") # TODO: Clearer instructions. + return generated_work_orders def get_reencrypted_cfrags(self, work_order):