Skip to content

Commit

Permalink
legacy payload
Browse files Browse the repository at this point in the history
  • Loading branch information
jinmel committed Sep 9, 2024
1 parent 3696592 commit 5be1efb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ func (b *Builder) handleGetPayload(w http.ResponseWriter, req *http.Request) {

w.Header().Set("Content-Type", "application/json")
w.WriteHeader(http.StatusOK)
if err := json.NewEncoder(w).Encode(bestSubmission); err != nil {
if err := json.NewEncoder(w).Encode(bestSubmission.Deneb.ExecutionPayload); err != nil {
updateServeTimeHistogram("getPayload", false, time.Since(start))
log.Error("could not encode response", "err", err)
respondError(w, http.StatusInternalServerError, "could not encode response")
Expand Down

0 comments on commit 5be1efb

Please sign in to comment.