From: Elias Rohrer Date: Thu, 7 Mar 2024 08:45:45 +0000 (+0100) Subject: Implement `Debug` for `BestBlock` X-Git-Tag: v0.0.123-beta~48^2~1 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=007a5dba95127180458f998dedc860ab7e2d7971;p=rust-lightning Implement `Debug` for `BestBlock` --- diff --git a/lightning/src/chain/mod.rs b/lightning/src/chain/mod.rs index 5d367bd4a..82d64c5a3 100644 --- a/lightning/src/chain/mod.rs +++ b/lightning/src/chain/mod.rs @@ -31,7 +31,7 @@ pub(crate) mod onchaintx; pub(crate) mod package; /// The best known block as identified by its hash and height. -#[derive(Clone, Copy, PartialEq, Eq)] +#[derive(Clone, Copy, Debug, PartialEq, Eq)] pub struct BestBlock { /// The block's hash pub block_hash: BlockHash,