projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57911dc
)
Implement `Debug` for `BestBlock`
author
Elias Rohrer
<dev@tnull.de>
Thu, 7 Mar 2024 08:45:45 +0000
(09:45 +0100)
committer
Elias Rohrer
<dev@tnull.de>
Thu, 7 Mar 2024 10:02:23 +0000
(11:02 +0100)
lightning/src/chain/mod.rs
patch
|
blob
|
history
diff --git
a/lightning/src/chain/mod.rs
b/lightning/src/chain/mod.rs
index 5d367bd4afa49d8a1a73306534f2d7e1bb4bf6ab..82d64c5a3e627846f2916740eb751c39a1a08cd6 100644
(file)
--- 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,