Skip to content

Commit 4a1cf91

Browse files
committed
misc
1 parent 490647e commit 4a1cf91

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

  • coordinator/cosign/types/src/tests

coordinator/cosign/types/src/tests/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,18 @@ fn sign_cosign(cosign: Cosign, keypair: &schnorrkel::Keypair) -> SignedCosign {
2222
}
2323
}
2424

25-
/// Returns the public key bytes from the test fixture keypair (seed [0xff; 32])
2625
pub fn fixture_public_key() -> [u8; 32] {
2726
sr25519_fixture().public.to_bytes()
2827
}
2928

30-
/// Returns the public key bytes for a keypair with the given seed
3129
pub fn public_key_from_seed(seed: [u8; 32]) -> [u8; 32] {
3230
sr25519_fixture_from_seed(seed).public.to_bytes()
3331
}
3432

35-
/// Creates a SignedCosign using the test fixture keypair (seed [0xff; 32])
3633
pub fn sign_cosign_with_fixture(cosign: Cosign) -> SignedCosign {
3734
sign_cosign(cosign, &sr25519_fixture())
3835
}
3936

40-
/// Creates a SignedCosign using a keypair derived from the given seed
4137
pub fn sign_cosign_with_seed(cosign: Cosign, seed: [u8; 32]) -> SignedCosign {
4238
sign_cosign(cosign, &sr25519_fixture_from_seed(seed))
4339
}

0 commit comments

Comments
 (0)