Skip to content

Commit

Permalink
Merge pull request #422 from gobitfly/NOBIDS/implement_validator_bulk…
Browse files Browse the repository at this point in the history
…_add_methods

adjust regex for withdawal credentials
  • Loading branch information
peterbitfly authored Jun 11, 2024
2 parents 7367df5 + 238124f commit 890eb98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/pkg/api/handlers/internal.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 890eb98

Please sign in to comment.