message: Impl Default for CompressedPubKey
diff: //!
  //! Definition of public key structure and helpers
  -use ark_ff::{BigInteger, PrimeField};
  +use ark_ff::{BigInteger, PrimeField, Zero};
  use bs58;
  use core::fmt;
  use sha2::{Digest, Sha256};
  @@ -150,6 +150,15 @@ pub struct CompressedPubKey {
  pub is_odd: bool,
  }
  +impl Default for CompressedPubKey {
  + fn default() -> Self {
  + Self {
  + x: BaseField::zero(),
  + is_odd: false,
  + }
  + }
  +}
  +
  fn into_address(x: &BaseField, is_odd: bool) -> String {
  let mut raw: Vec<u8> = vec![
  0xcb, // version for base58 check
  