From 7421bf9b23d951de025ea9fcbfa92762db64d43f Mon Sep 17 00:00:00 2001 From: canonbrother Date: Mon, 9 Dec 2024 22:53:14 +0800 Subject: [PATCH] fmt_rs --- lib/ain-ocean/src/indexer/oracle.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/ain-ocean/src/indexer/oracle.rs b/lib/ain-ocean/src/indexer/oracle.rs index a6c0cfb522..7af1e81774 100644 --- a/lib/ain-ocean/src/indexer/oracle.rs +++ b/lib/ain-ocean/src/indexer/oracle.rs @@ -397,10 +397,7 @@ fn index_set_oracle_data( price: price_aggregated, }, )?; - price_repo.by_key.put( - &(token, currency), - &new_sort_key - )?; + price_repo.by_key.put(&(token, currency), &new_sort_key)?; } Ok(()) }