Merge pull request #2924 from tnull/2024-03-add-user-channel-id-to-payment-forwarded
[rust-lightning] / lightning / src / chain / mod.rs
index 82d64c5a3e627846f2916740eb751c39a1a08cd6..356520b5cba86e647acdec77fd0cb86b683e7d58 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, Debug, PartialEq, Eq)]
+#[derive(Clone, Copy, Debug, Hash, PartialEq, Eq)]
 pub struct BestBlock {
        /// The block's hash
        pub block_hash: BlockHash,