diff --git a/common/crypto/src/encryption/mod.rs b/common/crypto/src/encryption/mod.rs index 78edbd5c47..03ad7de8d1 100644 --- a/common/crypto/src/encryption/mod.rs +++ b/common/crypto/src/encryption/mod.rs @@ -62,8 +62,7 @@ impl PemStorableKeyPair for KeyPair { } } -// COPY IS DERIVED ONLY TEMPORARILY UNTIL https://github.com/nymtech/nym/issues/47 is fixed -#[derive(Debug, Clone, Copy, Eq, PartialEq)] +#[derive(Debug, Clone, Eq, PartialEq)] pub struct PrivateKey(pub Scalar); impl PrivateKey { diff --git a/common/crypto/src/identity/mod.rs b/common/crypto/src/identity/mod.rs index 941f786f67..8f627e14aa 100644 --- a/common/crypto/src/identity/mod.rs +++ b/common/crypto/src/identity/mod.rs @@ -98,8 +98,7 @@ impl PemStorableKey for MixIdentityPublicKey { } } -// COPY IS DERIVED ONLY TEMPORARILY UNTIL https://github.com/nymtech/nym/issues/47 is fixed -#[derive(Debug, Clone, Copy, Eq, PartialEq)] +#[derive(Debug, Clone, Eq, PartialEq)] pub struct MixIdentityPrivateKey(pub encryption::PrivateKey); impl<'a> From<&'a MixIdentityPrivateKey> for MixIdentityPublicKey {