From 9e70d0ba61bb825a5069b134c5693756850cffba Mon Sep 17 00:00:00 2001 From: Inon Man <121477599+inon-man@users.noreply.github.com> Date: Mon, 28 Aug 2023 21:18:36 +0900 Subject: [PATCH] gofumpt --- server/api/server.go | 1 - 1 file changed, 1 deletion(-) diff --git a/server/api/server.go b/server/api/server.go index c9e6f3a747d..fa933ad1c3d 100644 --- a/server/api/server.go +++ b/server/api/server.go @@ -91,7 +91,6 @@ func blockHeightMiddleware(next http.Handler) http.Handler { heightStr := r.FormValue("height") if heightStr != "" { height, err := strconv.ParseInt(heightStr, 10, 64) - if err != nil { writeErrorResponse(w, http.StatusBadRequest, "syntax error") return