Skip to content

Commit 602157a

Browse files
authored
docs: correction comments (#860)
* Update repairable.rs * Update refresh.rs * Update repairable.rs * Update lib.rs
1 parent 1d41c21 commit 602157a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

frost-core/src/keys/repairable.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//!
33
//! Implements the Repairable Threshold Scheme (RTS) from <https://eprint.iacr.org/2017/1155>.
44
//! The RTS is used to help a signer (participant) repair their lost share. This is achieved
5-
//! using a subset of the other signers know here as `helpers`.
5+
//! using a subset of the other signers known here as `helpers`.
66
77
use alloc::collections::{BTreeMap, BTreeSet};
88

frost-core/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ fn detect_cheater<C: Ciphersuite>(
682682
/// for which the signature share was produced and with the group's
683683
/// `verifying_key`.
684684
///
685-
/// This is not required for regular FROST usage but might useful in certain
685+
/// This is not required for regular FROST usage but might be useful in certain
686686
/// situations where it is desired to verify each individual signature share
687687
/// before aggregating the signature.
688688
pub fn verify_signature_share<C: Ciphersuite>(

frost-core/src/tests/refresh.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use alloc::vec::Vec;
1818

1919
use super::ciphersuite_generic::check_sign;
2020

21-
/// We want to test that recover share matches the original share
21+
/// We want to test that recovered share matches the original share
2222
pub fn check_refresh_shares_with_dealer<C: Ciphersuite, R: RngCore + CryptoRng>(mut rng: R) {
2323
// Compute shares
2424

frost-core/src/tests/repairable.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use crate::{
1616
Ciphersuite, Error, Field, Group, Identifier, Scalar,
1717
};
1818

19-
/// We want to test that recover share matches the original share
19+
/// We want to test that recovered share matches the original share
2020
pub fn check_rts<C: Ciphersuite, R: RngCore + CryptoRng>(mut rng: R) {
2121
// Compute shares
2222

0 commit comments

Comments
 (0)