From e9eb56ac68f6133362e8db9574dee1e1d0068134 Mon Sep 17 00:00:00 2001 From: nisdas Date: Thu, 13 Apr 2023 09:22:48 +0800 Subject: [PATCH] add for all --- api/client/builder/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/client/builder/client.go b/api/client/builder/client.go index 67d9a93eed57..20f54fa1a553 100644 --- a/api/client/builder/client.go +++ b/api/client/builder/client.go @@ -297,6 +297,7 @@ func (c *Client) SubmitBlindedBlock(ctx context.Context, sb interfaces.ReadOnlyS defer cancel() versionOpt := func(r *http.Request) { r.Header.Add("Eth-Consensus-Version", version.String(version.Bellatrix)) + r.Header.Add("User-Agent", version.BuildData()) } rb, err := c.do(ctx, http.MethodPost, postBlindedBeaconBlockPath, bytes.NewBuffer(body), versionOpt)