diff --git a/src/poly/commitment.rs b/src/poly/commitment.rs index 4ac51a3..7f96286 100644 --- a/src/poly/commitment.rs +++ b/src/poly/commitment.rs @@ -24,7 +24,7 @@ pub struct OpeningProof { } /// A multiscalar multiplication in the polynomial commitment scheme -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct MSM<'a, C: CurveAffine> { params: &'a Params, g_scalars: Option>, @@ -246,7 +246,7 @@ impl Params { } /// A guard returned by the verifier -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct Guard<'a, C: CurveAffine> { msm: MSM<'a, C>, neg_z1: C::Scalar,