Skip to content

Commit

Permalink
remove import -- no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
kevaundray committed Jan 7, 2024
1 parent 9e49c9a commit 806e4b5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ipa-multipoint/src/multiproof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,7 @@ impl MultiPointProof {
})
}
pub fn to_bytes(&self) -> crate::IOResult<Vec<u8>> {
use crate::{IOError, IOErrorKind};
use ark_serialize::CanonicalSerialize;

let mut bytes = Vec::with_capacity(self.open_proof.serialised_size() + 32);
let mut bytes = Vec::with_capacity(self.open_proof.serialized_size() + 32);
bytes.extend(self.g_x_comm.to_bytes());

bytes.extend(self.open_proof.to_bytes()?);
Expand Down

0 comments on commit 806e4b5

Please sign in to comment.