Trust-Machines / wsts

Weighted Schnorr Threshold Signatures
Apache License 2.0
26 stars 12 forks source link

`v1` and `v2` check for different missing shares in `compute_secret` #47

Open xoloki opened 7 months ago

xoloki commented 7 months ago

v1::Party::compute_secrets checks for shares missing from a particular key_id, while v2 checks for shares missing for a particular key_id.

Split the MissingShares error into two separate errors, and check for both errors in v1 and v2.

jferrant commented 3 months ago

I think this was fixed already by https://github.com/Trust-Machines/wsts/commit/47290393c9760b0d60b3ced231d6fe30173d27b1