Skip to content

Commit

Permalink
Merge pull request #12 from yangby-cryptape/refactor/debug-print-more
Browse files Browse the repository at this point in the history
refactor: debug print more information
  • Loading branch information
yangby-cryptape authored Mar 21, 2024
2 parents 67ae00a + 8635c74 commit a6fce4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions verifier/src/types/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ impl fmt::Display for HeaderDigest {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(
f,
"{{ headers-range: [{}, {}], hash: {:#x} }}",
self.min_height, self.max_height, self.children_hash
"{{ headers-range: [{}, {}], work: {:#066x}, hash: {:#x} }}",
self.min_height, self.max_height, self.partial_chain_work, self.children_hash
)
}
}
Expand Down

0 comments on commit a6fce4b

Please sign in to comment.