Skip to content

Commit

Permalink
chore: removed TODO
Browse files Browse the repository at this point in the history
Decided not to change these names as this is a very small detail.
  • Loading branch information
AlbertoCentonze committed Jun 21, 2024
1 parent a6d3a64 commit a2d824a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions contracts/main/CurveTwocrypto.vy
Original file line number Diff line number Diff line change
Expand Up @@ -1349,10 +1349,6 @@ def _calc_withdraw_one_coin(
xp: New scaled balances after withdrawal.
approx_fee: Fee charged on the ith token (do not use for calculations).
"""
# TODO nomenclature incosistent:
# token_supply -> total_supply
# token_amount -> amount

token_supply: uint256 = self.totalSupply
assert token_amount <= token_supply # dev: token amount more than supply
assert i < N_COINS # dev: coin out of range
Expand Down

0 comments on commit a2d824a

Please sign in to comment.