diff --git a/apps/indexer/src/starknet_indexer/events.rs b/apps/indexer/src/starknet_indexer/events.rs index 1614f7ed..cc4352e5 100644 --- a/apps/indexer/src/starknet_indexer/events.rs +++ b/apps/indexer/src/starknet_indexer/events.rs @@ -142,7 +142,7 @@ fn u256_to_hex(felts: &[FieldElement]) -> Result { return Err(anyhow!("At least two felts are required to read a u256")); } - Ok(format!("{:#032x}{:032x}", felts[1], felts[0])) + Ok(format!("0x{:032x}{:032x}", felts[1], felts[0])) } ///