We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfa614b commit f718465Copy full SHA for f718465
‎pragma-node/src/handlers/entries/get_entry.rs
@@ -52,16 +52,6 @@ pub async fn get_entry(
52
if timestamp > now {
53
return Err(EntryError::InvalidTimestamp);
54
}
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
- }
65
66
let (entry, decimals) = entry_repository::routing(
67
&state.pool,
0 commit comments