Skip to content

Commit

Permalink
go (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
guibescos authored Dec 16, 2024
1 parent 9b2320e commit 37a2a7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit 37a2a7b

Please sign in to comment.