chore(node-core): unify stage progress log style (#7426)

This commit is contained in:
Alexey Shekhirin
2024-04-02 17:20:51 +02:00
committed by GitHub
parent 41049af99a
commit 112c8a3f1e

View File

@@ -167,8 +167,7 @@ impl<DB> NodeState<DB> {
.and_then(|entities| entities.fmt_percentage());
let stage_eta = current_stage.eta.fmt_for_stage(stage_id);
let message =
if done { "Stage finished executing" } else { "Stage committed progress" };
let message = if done { "Finished stage" } else { "Committed stage progress" };
match (stage_progress, stage_eta) {
(Some(stage_progress), Some(stage_eta)) => {