Skip to content

Commit f718465

Browse files
committed
🤡 remove mock
1 parent cfa614b commit f718465

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

‎pragma-node/src/handlers/entries/get_entry.rs

-10
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,6 @@ pub async fn get_entry(
5252
if timestamp > now {
5353
return Err(EntryError::InvalidTimestamp);
5454
}
55-
// Mock strk/eth pair
56-
if pair_id == "STRK/ETH" {
57-
return Ok(Json(GetEntryResponse {
58-
pair_id: "ETH/STRK".to_string(),
59-
timestamp: chrono::Utc::now().timestamp_millis() as u64,
60-
num_sources_aggregated: 5,
61-
price: "0x8ac7230489e80000".to_string(), // 0.1 wei
62-
decimals: 18,
63-
}));
64-
}
6555

6656
let (entry, decimals) = entry_repository::routing(
6757
&state.pool,

0 commit comments

Comments
 (0)