Skip to content

Commit

Permalink
lint: rust formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Bushstar committed Nov 5, 2024
1 parent 1a2283b commit 7182d6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ain-ocean/src/indexer/poolswap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ fn create_new_bucket(

impl IndexBlockStart for PoolSwap {
fn index_block_start(self, services: &Arc<Services>, 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 {
Expand Down

0 comments on commit 7182d6a

Please sign in to comment.