Skip to content

Commit

Permalink
fix logs
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsutton committed Dec 18, 2023
1 parent 78125e8 commit 64f9b10
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion protocol/flows/src/flow_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,14 @@ impl BlockEventLogger {
(0, 0, 0) => {}
(1, 0, 0) => info!("Unorphaned block {}", summary.unorphan()),
(n, 0, 0) => info!("Unorphaned {} block(s) ...{}", n, summary.unorphan()),
(0, m, 0) => info!("Orphaned {} block(s) ...{}", m, summary.orphan()),
(0, m, l) => info!("Orphaned {} block(s) ...{} and queued {} missing roots", m, summary.orphan(), l),
(n, m, 0) => {
info!("Unorphaned {} block(s) ...{}, orphaned {} block(s) ...{}", n, summary.unorphan(), m, summary.orphan(),)
}
(n, m, l) => {
info!(
"Unorphaned {} block(s) ...{}, orphaned {} block(s) ...{} and queued {} missing roots",
"Unorphaned {} block(s) ...{}, orphaned {} block(s) ...{} and queued {} missing roots",
n,
summary.unorphan(),
m,
Expand Down

0 comments on commit 64f9b10

Please sign in to comment.