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