Skip to content

Commit

Permalink
Update ra/ra.go
Browse files Browse the repository at this point in the history
Co-authored-by: Aaron Gable <[email protected]>
  • Loading branch information
beautifulentropy and aarongable authored Mar 6, 2024
1 parent 57bac16 commit 40cd858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ra/ra.go
Original file line number Diff line number Diff line change
Expand Up @@ -1763,7 +1763,7 @@ func (ra *RegistrationAuthorityImpl) recordValidation(ctx context.Context, authI
}

func (ra *RegistrationAuthorityImpl) countFailedValidation(ctx context.Context, regId int64, name string) {
if ra.limiter == nil && ra.txnBuilder == nil {
if ra.limiter == nil || ra.txnBuilder == nil {
// Limiter is disabled.
return
}
Expand Down

0 comments on commit 40cd858

Please sign in to comment.