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