diff --git a/src/verification_key.rs b/src/verification_key.rs index e6df140..0dc11b9 100644 --- a/src/verification_key.rs +++ b/src/verification_key.rs @@ -72,7 +72,7 @@ impl VerificationKey { /// Converts the verification key into a byte array. pub fn into_bytes(&self) -> Vec { let mut buf = Vec::new(); - VerificationKey::serialize_compressed(&self, &mut buf).unwrap(); + self.serialize_compressed(&mut buf).unwrap(); buf }