diff --git a/lib/ain-ocean/src/indexer/oracle.rs b/lib/ain-ocean/src/indexer/oracle.rs index 2b6765bc0a..8fc2eccfed 100644 --- a/lib/ain-ocean/src/indexer/oracle.rs +++ b/lib/ain-ocean/src/indexer/oracle.rs @@ -270,9 +270,9 @@ fn map_price_aggregated( pair: &(Token, Currency), ) -> Result> { let (token, currency) = pair; - let oracle_repo = &services.oracle_token_currency; - let oracles = oracle_repo + let oracles = services + .oracle_token_currency .by_id .list( Some((