Skip to content

Commit

Permalink
fix validation
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Sep 16, 2024
1 parent ab98187 commit e96fd82
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public SafeFuture<InternalValidationResult> validateForGossip(
final boolean builderIsActive =
builder.getActivationEpoch().isLessThanOrEqualTo(epoch)
&& epoch.isLessThan(builder.getExitEpoch());
if (builderIsActive || builder.isSlashed()) {
if (!builderIsActive || builder.isSlashed()) {
return reject("Builder is not active or is slashed");
}
/*
Expand Down

0 comments on commit e96fd82

Please sign in to comment.