diff --git a/contracts/mixnet/src/support/tests/mod.rs b/contracts/mixnet/src/support/tests/mod.rs index d8b1909415..7b0b99fff8 100644 --- a/contracts/mixnet/src/support/tests/mod.rs +++ b/contracts/mixnet/src/support/tests/mod.rs @@ -6,8 +6,6 @@ pub mod fixtures; pub mod messages; #[cfg(test)] pub mod queries; -#[cfg(test)] -pub mod signing; #[cfg(test)] pub mod test_helpers { diff --git a/contracts/mixnet/src/support/tests/signing.rs b/contracts/mixnet/src/support/tests/signing.rs deleted file mode 100644 index 8650e233d3..0000000000 --- a/contracts/mixnet/src/support/tests/signing.rs +++ /dev/null @@ -1,14 +0,0 @@ -// use ed25519_dalek::{Keypair, PublicKey, Signature, Signer}; - -// use rand::rngs::OsRng; - -// /// A test helper which signs a piece of text with a supplied private key -// /// This is test-only code, not meant for use inside the smart contract. -// /// It allows us to sign things so we can test that verification works inside -// /// the smart contract. -// pub(crate) fn sign(text: &str) -> (Signature, PublicKey) { -// let mut csprng = OsRng {}; -// let keypair: Keypair = Keypair::generate(&mut csprng); -// let signature: Signature = keypair.sign(text.as_bytes()); -// (signature, keypair.public) -// }