Skip to content
This repository was archived by the owner on Jan 27, 2026. It is now read-only.

Commit c7b606d

Browse files
authored
fix validator group formation (#397)
* fix validator group formation * remove print
1 parent 42d4a11 commit c7b606d

File tree

1 file changed

+3
-4
lines changed
  • crates/validator/src/validators/synthetic_data

1 file changed

+3
-4
lines changed

crates/validator/src/validators/synthetic_data/mod.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -641,10 +641,9 @@ impl SyntheticDataValidator {
641641
debug!("Group for work key: {:?} | {:?}", work_key, check_group);
642642
if let Some(group) = check_group {
643643
// Only add group if it's not already in the list
644-
if !group_status_check_tasks
645-
.iter()
646-
.any(|g| g.group_id == group.group_id)
647-
{
644+
if !group_status_check_tasks.iter().any(|g| {
645+
g.group_id == group.group_id && g.file_number == group.file_number
646+
}) {
648647
group_status_check_tasks.push(group);
649648
}
650649
}

0 commit comments

Comments
 (0)