Skip to content

Commit

Permalink
Allow dead code on get_h24_average function
Browse files Browse the repository at this point in the history
  • Loading branch information
ckoopmann committed May 22, 2024
1 parent 22c6b72 commit 3526751
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/usd_price/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ pub trait EthPriceStore {
) -> UsdNewtype;
async fn get_most_recent_price(&self) -> sqlx::Result<EthPrice>;
async fn store_price(&self, timestamp: &DateTime<Utc>, usd: f64);
#[allow(dead_code)]
async fn get_h24_average(&self) -> f64;
async fn get_price_h24_ago(&self, duration: &Duration) -> Option<EthPrice>;
async fn get_eth_price_by_minute(&self, minute: DateTime<Utc>) -> Option<f64>;
Expand Down

0 comments on commit 3526751

Please sign in to comment.