Skip to content

Commit

Permalink
rpc: fix setting client in DialHTTPWithClient (ethereum#26470)
Browse files Browse the repository at this point in the history
  • Loading branch information
lightclient authored and shekhirin committed Jun 6, 2023
1 parent e020980 commit 8c4b120
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rpc/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ func DialHTTPWithClient(endpoint string, client *http.Client) (*Client, error) {
}

var cfg clientConfig
cfg.httpClient = client
fn := newClientTransportHTTP(endpoint, &cfg)
return newClient(context.Background(), fn)
}
Expand Down

0 comments on commit 8c4b120

Please sign in to comment.