From b6c50cd8fbadcfbce5aa02b4b05e28bbbd143976 Mon Sep 17 00:00:00 2001 From: canonbrother Date: Sat, 14 Dec 2024 14:29:34 +0800 Subject: [PATCH] fmt_rs --- lib/ain-ocean/src/api/loan.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/ain-ocean/src/api/loan.rs b/lib/ain-ocean/src/api/loan.rs index d48f2f2b9c..905c491eae 100644 --- a/lib/ain-ocean/src/api/loan.rs +++ b/lib/ain-ocean/src/api/loan.rs @@ -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,