From 238124f755feb002ad3e2f071852313ffbec95c5 Mon Sep 17 00:00:00 2001 From: peter <1674920+peterbitfly@users.noreply.github.com> Date: Tue, 11 Jun 2024 11:06:26 +0200 Subject: [PATCH] adjust regex for withdawal credentials --- backend/pkg/api/handlers/internal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/pkg/api/handlers/internal.go b/backend/pkg/api/handlers/internal.go index 70d93cf42..f2526102d 100644 --- a/backend/pkg/api/handlers/internal.go +++ b/backend/pkg/api/handlers/internal.go @@ -511,7 +511,7 @@ func (h *HandlerService) InternalPostValidatorDashboardValidators(w http.Respons data, dataErr = h.dai.AddValidatorDashboardValidatorsByDepositAddress(dashboardId, groupId, depositAddress, limit) case req.WithdrawalAddress != "": - withdrawalAddress := v.checkRegex(reEthereumAddress, req.WithdrawalAddress, "withdrawal_address") + withdrawalAddress := v.checkRegex(reWithdrawalCredential, req.WithdrawalAddress, "withdrawal_address") if v.hasErrors() { handleErr(w, v) return