Skip to content

Commit

Permalink
Remove unnecessary function
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Iles committed Jun 6, 2018
1 parent 552d25e commit d9a6636
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,6 @@ func logSuccess(message string, r *http.Request) {
log.Printf("Success: %s %s", remoteHost, message)
}

// logUnreachable returns a 503 status code if nodeos is unreachable
func logUnreachable(message string, w http.ResponseWriter, r *http.Request) {

}

// validateJSON checks that the POST body contains a valid JSON object.
func validateJSON(next http.HandlerFunc) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
Expand Down

0 comments on commit d9a6636

Please sign in to comment.