Skip to content

Commit

Permalink
gofumpt
Browse files Browse the repository at this point in the history
  • Loading branch information
inon-man committed Aug 28, 2023
1 parent da235d1 commit 9e70d0b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/api/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9e70d0b

Please sign in to comment.