Implement `Debug` for `BestBlock`
authorElias Rohrer <dev@tnull.de>
Thu, 7 Mar 2024 08:45:45 +0000 (09:45 +0100)
committerElias Rohrer <dev@tnull.de>
Thu, 7 Mar 2024 10:02:23 +0000 (11:02 +0100)
lightning/src/chain/mod.rs

index 5d367bd4afa49d8a1a73306534f2d7e1bb4bf6ab..82d64c5a3e627846f2916740eb751c39a1a08cd6 100644 (file)
@@ -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,