mirror of https://github.com/nucypher/nucypher.git
If Bob tries to generate WorkOrders and there are none to generate, that needs to be at least a warning (as here). Maybe raise in teh future.
parent
df9db7aa51
commit
9c9337e153
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue