Skip to content

Commit

Permalink
chore: remove routing duplicate route
Browse files Browse the repository at this point in the history
not sure what exactly this does. Guessing it didn't affect the semantics, but still better to clean up.
  • Loading branch information
samlaf committed Jan 10, 2025
1 parent 44191c1 commit 0660c2d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions server/routing.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@ func (svr *Server) registerRoutes(r *mux.Router) {
subrouterPOST.HandleFunc("", // commitment is calculated by the server using the body data
withLogging(withMetrics(svr.handlePostOPGenericCommitment, svr.m, commitments.OptimismGeneric), svr.log),
)
subrouterPOST.HandleFunc("/", // commitment is calculated by the server using the body data
withLogging(withMetrics(svr.handlePostOPGenericCommitment, svr.m, commitments.OptimismGeneric), svr.log),
)

r.HandleFunc("/health", withLogging(svr.handleHealth, svr.log)).Methods("GET")
}
Expand Down

0 comments on commit 0660c2d

Please sign in to comment.