Skip to content

Commit

Permalink
modify processElectraPayload to use same request headers as deneb
Browse files Browse the repository at this point in the history
  • Loading branch information
0xTylerHolmes committed Nov 22, 2024
1 parent 9350154 commit fdc2283
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,10 @@ func (m *BoostService) processElectraPayload(w http.ResponseWriter, req *http.Re
}

// Add request headers
headers := map[string]string{HeaderKeySlotUID: currentSlotUID}
headers := map[string]string{
HeaderKeySlotUID: currentSlotUID,
HeaderStartTimeUnixMS: fmt.Sprintf("%d", time.Now().UTC().UnixMilli()),
}

// Prepare for requests
var wg sync.WaitGroup
Expand Down

0 comments on commit fdc2283

Please sign in to comment.