Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions server/register_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"bytes"
"context"
"fmt"
"maps"
"net/http"

"github.com/flashbots/mev-boost/server/params"
Expand Down Expand Up @@ -36,9 +37,7 @@ func (m *BoostService) registerValidator(log *logrus.Entry, regBytes []byte, hea
}

// Extend the request header with our values
for key, values := range header {
req.Header[key] = values
}
maps.Copy(req.Header, header)

log.WithFields(logrus.Fields{
"request": req,
Expand Down