Skip to content

Commit

Permalink
refactor: debug print more information
Browse files Browse the repository at this point in the history
  • Loading branch information
yangby-cryptape committed Mar 21, 2024
1 parent 67ae00a commit 8635c74
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 8635c74

Please sign in to comment.