From 9fe2631e54259e7ba86ee08dcff48e506f34dd49 Mon Sep 17 00:00:00 2001 From: nahem Date: Tue, 7 May 2024 16:54:25 +0200 Subject: [PATCH] chore(smart-contracts): remvoe unnecessary comments --- contracts/liquidity_hub/pool-manager/src/liquidity/commands.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/contracts/liquidity_hub/pool-manager/src/liquidity/commands.rs b/contracts/liquidity_hub/pool-manager/src/liquidity/commands.rs index 90910583..4ac77377 100644 --- a/contracts/liquidity_hub/pool-manager/src/liquidity/commands.rs +++ b/contracts/liquidity_hub/pool-manager/src/liquidity/commands.rs @@ -265,8 +265,6 @@ pub fn provide_liquidity( } } PoolType::StableSwap { amp: amp_factor } => { - // TODO: Handle stableswap - if total_share == Uint128::zero() { // Make sure at least MINIMUM_LIQUIDITY_AMOUNT is deposited to mitigate the risk of the first // depositor preventing small liquidity providers from joining the pool @@ -293,7 +291,6 @@ pub fn provide_liquidity( total_share, ) .unwrap(); - // assert slippage tolerance helpers::assert_slippage_tolerance( &slippage_tolerance, &deposits,