From f17463fc66cd8e8825d61bd3c810b7b61a07a1b1 Mon Sep 17 00:00:00 2001 From: canonbrother Date: Tue, 5 Nov 2024 16:55:15 +0800 Subject: [PATCH] fmt --- lib/ain-ocean/src/indexer/poolswap.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ain-ocean/src/indexer/poolswap.rs b/lib/ain-ocean/src/indexer/poolswap.rs index d933f78c6b..bc6bc8ad05 100644 --- a/lib/ain-ocean/src/indexer/poolswap.rs +++ b/lib/ain-ocean/src/indexer/poolswap.rs @@ -184,7 +184,7 @@ fn create_new_bucket( impl IndexBlockStart for PoolSwap { fn index_block_start(self, services: &Arc, block: &BlockContext) -> Result<()> { - let mut pool_pairs = ain_cpp_imports::get_pool_pairs(); + let mut pool_pairs = ain_cpp_imports::get_pool_pairs(); pool_pairs.sort_by(|a, b| b.creation_height.cmp(&a.creation_height)); for interval in AGGREGATED_INTERVALS {