Bob needs at least m cfrags, not more than that.

pull/550/head
David Núñez 2018-11-13 12:05:51 +01:00
parent f42c90090f
commit f265de61c3
1 changed files with 1 additions and 1 deletions

View File

@ -376,7 +376,7 @@ class Bob(Character):
try: try:
cfrags = self.get_reencrypted_cfrags(work_order) cfrags = self.get_reencrypted_cfrags(work_order)
message_kit.capsule.attach_cfrag(cfrags[0]) message_kit.capsule.attach_cfrag(cfrags[0])
if len(message_kit.capsule._attached_cfrags) > m: if len(message_kit.capsule._attached_cfrags) >= m:
break break
except requests.exceptions.ConnectTimeout: except requests.exceptions.ConnectTimeout:
continue continue