diff --git a/consensus/consensus-types/src/sync_info.rs b/consensus/consensus-types/src/sync_info.rs index f4eddf3d50ccf..7507dc2be81c3 100644 --- a/consensus/consensus-types/src/sync_info.rs +++ b/consensus/consensus-types/src/sync_info.rs @@ -36,7 +36,7 @@ impl Display for SyncInfo { fn fmt(&self, f: &mut Formatter) -> std::fmt::Result { write!( f, - "SyncInfo[certified_round: {}, ordered_round: {}, timeout round: {}, committed_round: {},\n hqc: {:?},\n hoc: {:?},\n hcc: {:?}]", + "SyncInfo[certified_round: {}, ordered_round: {}, timeout round: {}, committed_round: {},\n hqc: {},\n hoc: {},\n hcc: {}]", self.highest_certified_round(), self.highest_ordered_round(), self.highest_timeout_round(), diff --git a/consensus/consensus-types/src/wrapped_ledger_info.rs b/consensus/consensus-types/src/wrapped_ledger_info.rs index ee254af17304b..e0c745053948c 100644 --- a/consensus/consensus-types/src/wrapped_ledger_info.rs +++ b/consensus/consensus-types/src/wrapped_ledger_info.rs @@ -28,11 +28,7 @@ pub struct WrappedLedgerInfo { impl Display for WrappedLedgerInfo { fn fmt(&self, f: &mut Formatter) -> std::fmt::Result { - write!( - f, - "WrappedLedgerInfo: [{}, {}]", - self.vote_data, self.signed_ledger_info - ) + write!(f, "WrappedLedgerInfo: [{}]", self.signed_ledger_info) } }