clippy
This commit is contained in:
parent
0ac6427abc
commit
abe6b27b34
|
@ -140,7 +140,7 @@ impl ElGamalKeypair {
|
||||||
let secret = ElGamalSecretKey::new(signing_key, address);
|
let secret = ElGamalSecretKey::new(signing_key, address);
|
||||||
let public = ElGamalPubkey::new(&secret);
|
let public = ElGamalPubkey::new(&secret);
|
||||||
|
|
||||||
Self { secret, public }
|
Self { public, secret }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Generates the public and secret keys for ElGamal encryption.
|
/// Generates the public and secret keys for ElGamal encryption.
|
||||||
|
|
Loading…
Reference in New Issue