Implement Debug for BestBlock

This commit is contained in:
Elias Rohrer 2024-03-07 09:45:45 +01:00
parent 57911dcd41
commit 007a5dba95
No known key found for this signature in database
GPG key ID: 36153082BDF676FD

View file

@ -31,7 +31,7 @@ pub(crate) mod onchaintx;
pub(crate) mod package; pub(crate) mod package;
/// The best known block as identified by its hash and height. /// 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 { pub struct BestBlock {
/// The block's hash /// The block's hash
pub block_hash: BlockHash, pub block_hash: BlockHash,