Skip to content

Commit

Permalink
test fix: don't wait for running swaps
Browse files Browse the repository at this point in the history
THERE ARE NO RUNNING SWAPS
  • Loading branch information
mariocynicys committed Jan 8, 2025
1 parent fbd5e9f commit f5ac03d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions mm2src/mm2_main/src/lp_native_dex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -536,13 +536,6 @@ pub async fn lp_init(ctx: MmArc, version: String, datetime: String) -> MmInitRes
Timer::sleep(0.2).await
}

// wait for swaps to stop
loop {
if running_swaps_num(&ctx) == 0 {
break;
};
Timer::sleep(0.2).await
}
Ok(())
}

Expand Down

0 comments on commit f5ac03d

Please sign in to comment.