Skip to content

Commit

Permalink
Modify processElectraPayload to use a channel (#704)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xTylerHolmes authored Nov 22, 2024
1 parent 9350154 commit 4076ad0
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 4076ad0

Please sign in to comment.