mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-10 07:58:22 -05:00
clean up code around setting geth client headers (#11748)
This commit is contained in:
@@ -124,7 +124,7 @@ func New(opts ...Option) (*Builder, error) {
|
||||
endpoint := network.HttpEndpoint(p.cfg.destinationUrl.String())
|
||||
endpoint.Auth.Method = authorization.Bearer
|
||||
endpoint.Auth.Value = p.cfg.secret
|
||||
execClient, err := network.NewExecutionRPCClient(context.Background(), endpoint)
|
||||
execClient, err := network.NewExecutionRPCClient(context.Background(), endpoint, nil)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user