Skip to content

Commit

Permalink
Print Transaction Hash when displaying cert (MystenLabs#1737)
Browse files Browse the repository at this point in the history
  • Loading branch information
lxfind authored May 3, 2022
1 parent d8686eb commit 01509cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sui_types/src/messages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 : {:?}",
Expand Down

0 comments on commit 01509cf

Please sign in to comment.