Skip to content

Commit

Permalink
[TRIVIAL] x-request-id header typo fix (#2786)
Browse files Browse the repository at this point in the history
  • Loading branch information
squadgazzz authored Jun 21, 2024
1 parent 37d3090 commit 27d3f96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ethrpc/src/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async fn execute_rpc<T: DeserializeOwned>(
match request {
Request::Single(Call::MethodCall(call)) => {
if let Some(metadata) = observe::request_id::get_task_local_storage() {
request_builder = request_builder.header("X-REQUEST_ID", metadata);
request_builder = request_builder.header("X-REQUEST-ID", metadata);
}
request_builder = request_builder.header("X-RPC-METHOD", call.method.clone());
}
Expand Down

0 comments on commit 27d3f96

Please sign in to comment.