From a470ddc03fccce9ef88f629c5c9da380218626dd Mon Sep 17 00:00:00 2001 From: Tristav <124001124+Pricstas@users.noreply.github.com> Date: Wed, 18 Dec 2024 18:53:47 +0100 Subject: [PATCH] typos requests.rs --- apps/indexer/src/handlers/requests.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/indexer/src/handlers/requests.rs b/apps/indexer/src/handlers/requests.rs index 2729561f..b4a9367e 100644 --- a/apps/indexer/src/handlers/requests.rs +++ b/apps/indexer/src/handlers/requests.rs @@ -63,7 +63,7 @@ pub async fn reqs_info_from_wallet( Path(wallet): Path, state: State, ) -> Result>, (StatusCode, String)> { - let wallet = normalize_hex(&wallet).expect("Wallet address shall be an hexadecimal string"); + let wallet = normalize_hex(&wallet).expect("Wallet address shall be a hexadecimal string"); let mut dtos: Vec = vec![]; @@ -97,7 +97,7 @@ pub async fn reqs_info_from_wallet( } pub async fn transaction(Path(txhash): Path, state: State) -> StatusCode { - let txhash = normalize_hex(&txhash).expect("Transaction hash shall be an hexadecimal string"); + let txhash = normalize_hex(&txhash).expect("Transaction hash shall be a hexadecimal string"); if let Ok(event) = state.store.event_by_tx(&txhash).await { if event.is_some() { return StatusCode::OK; @@ -124,7 +124,7 @@ pub async fn contract_stats( state: State, ) -> Result, (StatusCode, String)> { let contract_address = normalize_hex(ð_contract_address) - .expect("Contract address shall be an hexadecimal string"); + .expect("Contract address shall be a hexadecimal string"); let total_tokens_bridged_on_starknet = state .store