From 37a2a7ba51c860c5e5d670a9ee6ba33f6c3e6244 Mon Sep 17 00:00:00 2001 From: guibescos <59208140+guibescos@users.noreply.github.com> Date: Mon, 16 Dec 2024 18:03:21 +0000 Subject: [PATCH] go (#294) --- auction-server/api-types/src/bid.rs | 2 +- sdk/rust/src/lib.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/auction-server/api-types/src/bid.rs b/auction-server/api-types/src/bid.rs index 0483bc47..d6fc5521 100644 --- a/auction-server/api-types/src/bid.rs +++ b/auction-server/api-types/src/bid.rs @@ -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() ) diff --git a/sdk/rust/src/lib.rs b/sdk/rust/src/lib.rs index b4e2aecf..939b53e1 100644 --- a/sdk/rust/src/lib.rs +++ b/sdk/rust/src/lib.rs @@ -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(