Skip to content

Commit

Permalink
Remove mut for builder
Browse files Browse the repository at this point in the history
  • Loading branch information
sydhds committed Oct 8, 2024
1 parent 21d189e commit 41da40f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion massa-sdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ impl RpcClientV2 {
}

fn http_client_from_url(url: &str, http_config: &HttpConfig) -> HttpClient<HttpBackend> {
let mut builder = HttpClientBuilder::default()
let builder = HttpClientBuilder::default()
.max_request_size(http_config.client_config.max_request_body_size)
.request_timeout(http_config.client_config.request_timeout.to_duration())
// FIXME: the field max_concurrent_requests is private (jsonrpsee 0.24.6)
Expand Down

0 comments on commit 41da40f

Please sign in to comment.