From 913e0f06d066d34bc0a3351357b0800ec6375db6 Mon Sep 17 00:00:00 2001 From: Ori Newman Date: Sun, 7 Jan 2024 17:35:03 +0000 Subject: [PATCH] Change error message --- protocol/flows/src/v5/ibd/progress.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/flows/src/v5/ibd/progress.rs b/protocol/flows/src/v5/ibd/progress.rs index 6d1a56ef9c..458138a259 100644 --- a/protocol/flows/src/v5/ibd/progress.rs +++ b/protocol/flows/src/v5/ibd/progress.rs @@ -50,7 +50,7 @@ impl ProgressReporter { let percent = ((relative_daa_score as f64 / (self.high_daa_score - self.low_daa_score) as f64) * 100.0) as i32; if percent > self.last_reported_percent { let date = match Local.timestamp_opt(current_timestamp as i64 / 1000, 1000 * (current_timestamp as u32 % 1000)) { - LocalResult::None | LocalResult::Ambiguous(_, _) => "couldn't parse date".into(), + LocalResult::None | LocalResult::Ambiguous(_, _) => "cannot parse date".into(), LocalResult::Single(date) => date.format("%Y-%m-%d %H:%M:%S.%3f:%z").to_string(), }; info!("IBD: Processed {} {} ({}%) last block timestamp: {}", self.processed, self.object_name, percent, date);