We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb4acb3 commit 616a278Copy full SHA for 616a278
contracts/main/CurveTwocryptoOptimized.vy
@@ -461,7 +461,7 @@ def add_liquidity(
461
@return uint256 Amount of LP tokens received by the `receiver
462
"""
463
464
- # self._claim_admin_fees() # <--------- Auto-claim admin fees occasionally.
+ self._claim_admin_fees() # <--------- Auto-claim admin fees occasionally.
465
466
A_gamma: uint256[2] = self._A_gamma()
467
xp: uint256[N_COINS] = self.balances
@@ -566,8 +566,6 @@ def add_liquidity(
566
price_scale
567
)
568
569
- self._claim_admin_fees() # <--------- Auto-claim admin fees occasionally.
570
-
571
return d_token
572
573
0 commit comments