From 01509cf85b29aab375105c72c0a2e4ddb600a16d Mon Sep 17 00:00:00 2001 From: Xun Li Date: Tue, 3 May 2022 11:03:37 -0700 Subject: [PATCH] Print Transaction Hash when displaying cert (#1737) --- sui_types/src/messages.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/sui_types/src/messages.rs b/sui_types/src/messages.rs index 9be991638c3f4..fc15cbb60c581 100644 --- a/sui_types/src/messages.rs +++ b/sui_types/src/messages.rs @@ -1193,6 +1193,7 @@ impl CertifiedTransaction { impl Display for CertifiedTransaction { fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { let mut writer = String::new(); + writeln!(writer, "Transaction Hash: {:?}", self.digest())?; writeln!( writer, "Signed Authorities : {:?}",