Skip to content

Commit

Permalink
chore(smart-contracts): remvoe unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nseguias committed May 7, 2024
1 parent 9b00cc2 commit 9fe2631
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -293,7 +291,6 @@ pub fn provide_liquidity(
total_share,
)
.unwrap();
// assert slippage tolerance
helpers::assert_slippage_tolerance(
&slippage_tolerance,
&deposits,
Expand Down

0 comments on commit 9fe2631

Please sign in to comment.