From 8635c74f3e1fb7f2b78eecb2e9880c9c3e36d317 Mon Sep 17 00:00:00 2001 From: Boyu Yang Date: Thu, 21 Mar 2024 09:32:43 +0800 Subject: [PATCH] refactor: debug print more information --- verifier/src/types/core.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/verifier/src/types/core.rs b/verifier/src/types/core.rs index 35fae43..9776545 100644 --- a/verifier/src/types/core.rs +++ b/verifier/src/types/core.rs @@ -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 ) } }