We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f3d451 commit 2b18c90Copy full SHA for 2b18c90
pkg/coordinator/clients/consensus/rpc/beaconapi.go
@@ -56,7 +56,7 @@ func (bc *BeaconClient) Initialize(ctx context.Context) error {
56
}
57
58
// set extra endpoint headers
59
- if bc.headers != nil && len(bc.headers) > 0 {
+ if len(bc.headers) > 0 {
60
cliParams = append(cliParams, http.WithExtraHeaders(bc.headers))
61
62
0 commit comments