From a9caf4ef2740d528b595eaaeec1e341908de2eea Mon Sep 17 00:00:00 2001 From: Justin Traglia Date: Thu, 9 May 2024 09:22:38 -0500 Subject: [PATCH] Fix linter issues --- .golangci.yaml | 1 + services/api/service.go | 1 + 2 files changed, 2 insertions(+) diff --git a/.golangci.yaml b/.golangci.yaml index 3229c00f..e54bbe61 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -73,6 +73,7 @@ linters-settings: replace-allow-list: - github.com/attestantio/go-builder-client - github.com/attestantio/go-eth2-client + - github.com/ethereum/go-ethereum maintidx: under: 5 diff --git a/services/api/service.go b/services/api/service.go index af133f89..849ebf0e 100644 --- a/services/api/service.go +++ b/services/api/service.go @@ -1245,6 +1245,7 @@ func (api *RelayAPI) checkProposerSignature(block *common.VersionedSignedBlinded } } +//nolint:gocognit func (api *RelayAPI) handleGetPayload(w http.ResponseWriter, req *http.Request) { api.getPayloadCallsInFlight.Add(1) defer api.getPayloadCallsInFlight.Done()