Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
canonbrother committed Dec 19, 2024
1 parent cff077f commit 7515ded
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/ain-ocean/src/indexer/oracle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,11 +276,7 @@ fn map_price_aggregated(
.oracle_token_currency
.by_id
.list(
Some((
token.clone(),
currency.clone(),
max_txid,
)),
Some((token.clone(), currency.clone(), max_txid)),
SortOrder::Descending,
)?
.take_while(|item| matches!(item, Ok((k, _)) if &k.0 == token && &k.1 == currency))
Expand Down

0 comments on commit 7515ded

Please sign in to comment.