mirror of https://github.com/nucypher/nucypher.git
Update NotEnoughUrsulas failure message to be clearer - it could be misinterpreted as an Ursula availability issue rather than a functional.
parent
9c78d599f7
commit
df3a688122
|
@ -678,7 +678,9 @@ class Bob(Character):
|
|||
)
|
||||
|
||||
if len(successes) < threshold:
|
||||
raise Ursula.NotEnoughUrsulas(f"Not enough Ursulas to decrypt: {failures}")
|
||||
raise Ursula.NotEnoughUrsulas(
|
||||
f"Threshold of Ursulas unable to decrypt: {failures}"
|
||||
)
|
||||
self.log.debug("Got enough shares to decrypt.")
|
||||
|
||||
if decryption_request.variant == FerveoVariant.Precomputed:
|
||||
|
|
Loading…
Reference in New Issue