Skip to content

Commit 8c4b120

Browse files
lightclientshekhirin
authored andcommitted
rpc: fix setting client in DialHTTPWithClient (ethereum#26470)
1 parent e020980 commit 8c4b120

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rpc/http.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ func DialHTTPWithClient(endpoint string, client *http.Client) (*Client, error) {
137137
}
138138

139139
var cfg clientConfig
140+
cfg.httpClient = client
140141
fn := newClientTransportHTTP(endpoint, &cfg)
141142
return newClient(context.Background(), fn)
142143
}

0 commit comments

Comments
 (0)