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 committed Mar 6, 2024
1 parent 5c20dc8 commit a0dc3a7
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 a0dc3a7

Please sign in to comment.