From 17fdffa90f2ef2f756b20f39263bce7fe68cf2e0 Mon Sep 17 00:00:00 2001 From: Vladimir Komendantskiy Date: Tue, 19 Jun 2018 15:17:16 +0100 Subject: [PATCH] threshold encryption of proposals in HoneyBadger --- mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod.rs b/mod.rs index cb3ba31..e879392 100644 --- a/mod.rs +++ b/mod.rs @@ -185,7 +185,7 @@ impl Ciphertext { } /// A decryption share. A threshold of decryption shares can be used to decrypt a message. -#[derive(Deserialize, Serialize, Debug, PartialEq, Eq)] +#[derive(Clone, Deserialize, Serialize, Debug, PartialEq, Eq)] pub struct DecryptionShare(#[serde(with = "serde_impl::projective")] G1); impl Hash for DecryptionShare {