Skip to content

Commit

Permalink
Bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdee committed Mar 15, 2024
1 parent b9dcb64 commit aee7c4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions http/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (s *Service) post(ctx context.Context, endpoint string, body io.Reader) (io
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Accept", "application/json")
if req.Header.Get("User-Agent") == "" {
req.Header.Set("User-Agent", "go-eth2-client/0.19.10")
req.Header.Set("User-Agent", "go-eth2-client/0.20.0")
}

resp, err := s.client.Do(req)
Expand Down Expand Up @@ -134,7 +134,7 @@ func (s *Service) post2(ctx context.Context,
req.Header.Set(k, v)
}
if req.Header.Get("User-Agent") == "" {
req.Header.Set("User-Agent", "go-eth2-client/0.19.10")
req.Header.Set("User-Agent", "go-eth2-client/0.20.0")
}

resp, err := s.client.Do(req)
Expand Down

0 comments on commit aee7c4b

Please sign in to comment.