Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: chain_id routes #294

Merged
merged 1 commit into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion auction-server/api-types/src/bid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ impl Routable for Route {

let full_path_with_chain = format!(
"{}{}{}",
crate::Route::V1.as_ref(),
crate::Route::V1Chain.as_ref(),
crate::Route::Bid.as_ref(),
self.as_ref()
)
Expand Down
6 changes: 3 additions & 3 deletions sdk/rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,9 @@ impl WsClient {
}

async fn fetch_add_request_id(&self) -> u64 {
let mut write_gaurd = self.inner.request_id.write().await;
*write_gaurd += 1;
*write_gaurd
let mut write_guard = self.inner.request_id.write().await;
*write_guard += 1;
*write_guard
}

async fn send(
Expand Down
Loading