Skip to content

Commit

Permalink
fmt_rs
Browse files Browse the repository at this point in the history
  • Loading branch information
canonbrother committed Dec 14, 2024
1 parent ffa2aa2 commit b6c50cd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/ain-ocean/src/api/loan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,10 @@ async fn list_loan_token(
.services
.oracle_price_active
.by_id
.list(Some((token.clone(), currency.clone(), [0xffu8; 4])), SortOrder::Descending)?
.list(
Some((token.clone(), currency.clone(), [0xffu8; 4])),
SortOrder::Descending,
)?
.take_while(|item| match item {
Ok((k, _)) => k.0 == token && k.1 == currency,
_ => true,
Expand Down

0 comments on commit b6c50cd

Please sign in to comment.