Skip to content

Commit

Permalink
log more info before returning NotEnoughShares from compute_secret in v2
Browse files Browse the repository at this point in the history
  • Loading branch information
xoloki committed Nov 11, 2024
1 parent a10ba81 commit d31e57e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@ impl Party {
let mut not_enough_shares = Vec::new();
for key_id in &self.key_ids {
if shares[key_id].len() != comms.len() {
warn!(
"key_id {} has {} private shares not {}",
key_id,
shares[key_id].len(),
comms.len()
);
not_enough_shares.push(*key_id);
}
}
Expand Down

0 comments on commit d31e57e

Please sign in to comment.