Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
chanhosuh committed Oct 30, 2023
1 parent 929bb40 commit fe01511
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions curvesim/pool/cryptoswap/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -954,13 +954,12 @@ def _calc_withdraw_one_coin(
assert i < self.n # dev: coin out of range

xx: List[int] = self.balances.copy()
D0: int = 0
precisions: List[int] = self.precisions

xp: List[int] = self._xp_mem(xx)

if update_D:
D0 = newton_D(A, gamma, xp)
D0: int = newton_D(A, gamma, xp)
else:
D0 = self.D

Expand Down

0 comments on commit fe01511

Please sign in to comment.