From 007a5dba95127180458f998dedc860ab7e2d7971 Mon Sep 17 00:00:00 2001 From: Elias Rohrer Date: Thu, 7 Mar 2024 09:45:45 +0100 Subject: [PATCH] Implement `Debug` for `BestBlock` --- lightning/src/chain/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.5