From a0dc3a7752ea4fb6e4baca2e365d52997a1e3af4 Mon Sep 17 00:00:00 2001 From: Samantha Date: Wed, 6 Mar 2024 12:55:50 -0500 Subject: [PATCH] Update ra/ra.go Co-authored-by: Aaron Gable --- ra/ra.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ra/ra.go b/ra/ra.go index 70fd5ce44ed..c5fcf9f1c2b 100644 --- a/ra/ra.go +++ b/ra/ra.go @@ -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 }