From f8e796f0f20c6dd7390cec9b596addf939b7e3bd Mon Sep 17 00:00:00 2001 From: Wasif Iqbal Date: Wed, 4 Oct 2023 10:26:58 -0500 Subject: [PATCH] Set cancellations to 1 instead of true (#121) --- 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 {