Skip to content

Commit

Permalink
refactor: rename threshold argument from refresh methods
Browse files Browse the repository at this point in the history
  • Loading branch information
ivokub committed Oct 6, 2023
1 parent 7371002 commit b2764c6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion fs-dkr/src/add_party_message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ impl<E: Curve, H: Digest + Clone, const M: usize> JoinMessage<E, H, M> {
party_index,
&parameters,
&paillier_key.ek,
current_t,
);
let new_share = Paillier::decrypt(&paillier_key.dk, cipher_text_sum)
.0
Expand Down
2 changes: 0 additions & 2 deletions fs-dkr/src/refresh_message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ impl<E: Curve, H: Digest + Clone, const M: usize> RefreshMessage<E, H, M> {
party_index: u16,
parameters: &'a ShamirSecretSharing,
ek: &'a EncryptionKey,
current_t: u16,
) -> (RawCiphertext<'a>, Vec<Scalar<E>>) {
// we first homomorphically add all ciphertext encrypted using our
// encryption key
Expand Down Expand Up @@ -409,7 +408,6 @@ impl<E: Curve, H: Digest + Clone, const M: usize> RefreshMessage<E, H, M> {
local_key.i,
&local_key.vss_scheme.parameters,
&old_ek,
current_t,
);

for refresh_message in refresh_messages.iter() {
Expand Down

0 comments on commit b2764c6

Please sign in to comment.