Skip to content

Commit

Permalink
[consensus] cleanup verbose logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Zekun Li authored and zekun000 committed Oct 2, 2024
1 parent e8a6faf commit ae9446c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion consensus/consensus-types/src/sync_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
6 changes: 1 addition & 5 deletions consensus/consensus-types/src/wrapped_ledger_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit ae9446c

Please sign in to comment.