From da42e75efa6a40611e8b9a6b2e03c0311b89695c Mon Sep 17 00:00:00 2001 From: Justin Traglia <95511699+jtraglia@users.noreply.github.com> Date: Fri, 11 Aug 2023 04:33:33 -0500 Subject: [PATCH] Remove unused HeaderKeyForkVersion (#552) --- server/mock_relay.go | 2 +- server/utils.go | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/server/mock_relay.go b/server/mock_relay.go index db7a0ccb..d59eb89e 100644 --- a/server/mock_relay.go +++ b/server/mock_relay.go @@ -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() diff --git a/server/utils.go b/server/utils.go index 3c0648be..b4576710 100644 --- a/server/utils.go +++ b/server/utils.go @@ -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 (