Skip to content

Commit

Permalink
Remove unused HeaderKeyForkVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
jtraglia committed Jul 28, 2023
1 parent 997fa30 commit b1c15e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion server/mock_relay.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func (m *mockRelay) newTestMiddleware(next http.Handler) http.Handler {
)
}

// getRouter registers all methods from the backend, apply the test middleware a,nd return the configured router
// getRouter registers all methods from the backend, apply the test middleware and return the configured router
func (m *mockRelay) getRouter() http.Handler {
// Create router.
r := mux.NewRouter()
Expand Down
5 changes: 2 additions & 3 deletions server/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ import (
)

const (
HeaderKeySlotUID = "X-MEVBoost-SlotID"
HeaderKeyVersion = "X-MEVBoost-Version"
HeaderKeyForkVersion = "X-MEVBoost-ForkVersion"
HeaderKeySlotUID = "X-MEVBoost-SlotID"
HeaderKeyVersion = "X-MEVBoost-Version"
)

var (
Expand Down

0 comments on commit b1c15e1

Please sign in to comment.