From aa0cc90c9d022a903e606e9e7488ea4b1c322200 Mon Sep 17 00:00:00 2001 From: quasystaty Date: Thu, 30 May 2024 14:50:16 +0300 Subject: [PATCH] disable checksummed --- internal/server/dto.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/server/dto.go b/internal/server/dto.go index 2f538f9..6aabc15 100644 --- a/internal/server/dto.go +++ b/internal/server/dto.go @@ -83,7 +83,7 @@ func readAddress(r *http.Request) (string, error) { if err := decodeJSONBody(r, &claimReq); err != nil { return "", err } - if !chain.IsValidAddress(claimReq.Address, true) { + if !chain.IsValidAddress(claimReq.Address, false) { return "", &malformedRequest{status: http.StatusBadRequest, message: "invalid address"} }