Removed derivation of copy on private keys
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user