message: Custom Debug impl for `Observation`.
diff: @@ -5,9 +5,10 @@ use crate::{
  components::consensus::{highway_core::vertex::SignedWireVote, traits::Context},
  types::Timestamp,
  };
  +use std::fmt::Debug;
  /// The observed behavior of a validator at some point in time.
  -#[derive(Clone, Debug, Eq, PartialEq, Serialize, Deserialize)]
  +#[derive(Clone, Eq, PartialEq, Serialize, Deserialize)]
  #[serde(bound(
  serialize = "C::Hash: Serialize",
  deserialize = "C::Hash: Deserialize<'de>",
  @@ -21,6 +22,19 @@ pub(crate) enum Observation<C: Context> {
  Faulty,
  }
  +impl<C: Context> Debug for Observation<C>
  +where
  + C::Hash: Debug,
  +{
  + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
  + match self {
  + Observation::None => write!(f, "N"),
  + Observation::Faulty => write!(f, "F"),
  + Observation::Correct(hash) => write!(f, "{:?}", hash),
  + }
  + }
  +}
  +
  impl<C: Context> Observation<C> {
  /// Returns the vote hash, if this is a correct observation.
  pub(crate) fn correct(&self) -> Option<&C::Hash> {
  