Skip to content

Commit edb22e1

Browse files
committed
Implement Hash for BestBlock
1 parent 007a5db commit edb22e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/chain/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pub(crate) mod onchaintx;
3131
pub(crate) mod package;
3232

3333
/// The best known block as identified by its hash and height.
34-
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
34+
#[derive(Clone, Copy, Debug, Hash, PartialEq, Eq)]
3535
pub struct BestBlock {
3636
/// The block's hash
3737
pub block_hash: BlockHash,

0 commit comments

Comments
 (0)