Browse Source

added clonability

pull/8/head
Nanak Nihal Singh Khalsa 1 year ago
parent
commit
ee96c573df
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/lib.rs

+ 1
- 1
src/lib.rs

@ -552,7 +552,7 @@ pub fn decompress_signature(b: &[u8; 64]) -> Result {
Result::Ok(res) => Ok(Signature { r_b8: res, s: s.to_string() }),
}
}
#[derive(Debug, Serialize, Deserialize)]
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct ElGamalEncryption {
pub c1: Point,
pub c2: Point

Loading…
Cancel
Save