From 57bf451a802411858de1916ccab57e7a58faff1b Mon Sep 17 00:00:00 2001 From: Wasif Iqbal Date: Tue, 3 Oct 2023 12:14:07 -0500 Subject: [PATCH] Set cancellations to 1 instead of true --- builder/relay.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builder/relay.go b/builder/relay.go index a28fe1e71c..9ff34513e2 100644 --- a/builder/relay.go +++ b/builder/relay.go @@ -138,7 +138,7 @@ func (r *RemoteRelay) SubmitBlock(msg *bellatrix.SubmitBlockRequest, _ Validator log.Info("submitting block to remote relay", "endpoint", r.config.Endpoint) endpoint := r.config.Endpoint + "/relay/v1/builder/blocks" if r.cancellationsEnabled { - endpoint = endpoint + "?cancellations=true" + endpoint = endpoint + "?cancellations=1" } code, err := SendHTTPRequest(context.TODO(), *http.DefaultClient, http.MethodPost, endpoint, msg, nil) if err != nil { @@ -160,7 +160,7 @@ func (r *RemoteRelay) SubmitBlockCapella(msg *capella.SubmitBlockRequest, _ Vali endpoint := r.config.Endpoint + "/relay/v1/builder/blocks" if r.cancellationsEnabled { - endpoint = endpoint + "?cancellations=true" + endpoint = endpoint + "?cancellations=1" } if r.config.SszEnabled {