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

Commit 28e730c

Browse files
authored
only validate work unit submissions on toploc accept (#430)
1 parent ff8c6aa commit 28e730c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/validator/src/validators/synthetic_data

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ impl SyntheticDataValidator<WalletProvider> {
882882
if status.status == ValidationResult::Reject {
883883
let rejected_nodes = self.handle_group_toploc_rejection(&group, &status).await?;
884884
nodes_to_invalidate.extend(rejected_nodes);
885-
} else {
885+
} else if status.status == ValidationResult::Accept {
886886
let nodes_with_wrong_work_unit_claims = self
887887
.handle_group_toploc_acceptance(
888888
&group,

0 commit comments

Comments
 (0)