Removed derivation of copy on private keys

This commit is contained in:
Jedrzej Stuczynski
2020-02-26 17:05:36 +00:00
parent e03fd54739
commit 3f3dfd404c
2 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -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 {
+1 -2
View File
@@ -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 {