Skip to content

Commit

Permalink
add clarity in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bout3fiddy committed Aug 27, 2023
1 parent 29940df commit e6d616c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/main/CurveTricryptoOptimizedWETH.vy
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ def add_liquidity(
self.xcp_profit_a = 10**18

# Initialise xcp oracle here:
self.cached_xcp_oracle = d_token # <--- virtual_price * totalSupply
self.cached_xcp_oracle = d_token # <--- virtual_price * totalSupply / 10**18

self.mint(receiver, d_token)

Expand Down

0 comments on commit e6d616c

Please sign in to comment.