message: expose Address constructor and allow to access the inner public key
diff: @@ -75,7 +75,7 @@ impl KindType {
  /// An unstructured address including the
  /// discrimination and the kind of address
  #[derive(Debug, Clone, PartialEq, Eq, Hash)]
  -pub struct Address(Discrimination, Kind);
  +pub struct Address(pub Discrimination, pub Kind);
  #[derive(Debug)]
  pub enum Error {
  @@ -162,6 +162,13 @@ impl Address {
  }
  unsafe { String::from_utf8_unchecked(out) }
  }
  +
  + pub fn public_key<'a>(&'a self) -> &'a PublicKey {
  + match self.1 {
  + Kind::Single(ref pk) => pk,
  + Kind::Group(ref pk, _) => pk,
  + }
  + }
  }
  fn get_kind_value(first_byte: u8) -> u8 {
  