wfe: Remove an impossible condition (#8035)

We already check !isARIRenewal on the line above.
This commit is contained in:
Samantha Frank 2025-03-03 16:21:48 -05:00 committed by GitHub
parent 10d9ef9af7
commit 1f5ee7c645
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -2305,7 +2305,7 @@ func (wfe *WebFrontEndImpl) NewOrder(
var refundLimits func()
if !isARIRenewal {
refundLimits, err = wfe.checkNewOrderLimits(ctx, acct.ID, names, isRenewal || isARIRenewal)
refundLimits, err = wfe.checkNewOrderLimits(ctx, acct.ID, names, isRenewal)
if err != nil {
if errors.Is(err, berrors.RateLimit) {
wfe.sendError(response, logEvent, probs.RateLimited(err.Error()), err)