Skip to content

Commit 2cd67c3

Browse files
committed
no check if no checkable points
1 parent 9151225 commit 2cd67c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/workload.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ impl Workload {
291291
Some(point_id) => point_id + 1,
292292
};
293293
let checkable_points = std::cmp::min(current_count as u64, confirmed_point_count) as usize;
294-
if current_count != 0 {
294+
if checkable_points != 0 {
295295
log::info!(
296296
"Run: previous data consistency check ({confirmed_point_count} / {current_count} points)"
297297
);

0 commit comments

Comments
 (0)