improved approval-voting logging (#4162)

* improved approval-voting logging

* fmt
This commit is contained in:
Robert Habermeier
2021-10-27 15:22:42 -05:00
committed by GitHub
parent d5430dd7ce
commit fc2320bb9b
@@ -1326,6 +1326,9 @@ async fn handle_approved_ancestor(
let next_wakeup =
wakeups.wakeup_for(block_hash, candidate_hash);
let approved =
triggered && { a_entry.local_statements().1.is_some() };
tracing::debug!(
target: LOG_TARGET,
?candidate_hash,
@@ -1334,6 +1337,7 @@ async fn handle_approved_ancestor(
?next_wakeup,
status = %status(),
triggered,
approved,
"assigned."
);
},