Skip to content

Commit

Permalink
Remove double recalculation in uniswap_lp_cycle
Browse files Browse the repository at this point in the history
  • Loading branch information
Nov1kov committed Jan 13, 2024
1 parent 05ea4b1 commit 1786221
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/degenbot/arbitrage/uniswap_lp_cycle.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,6 @@ def _calculate(
]
] = None,
) -> ArbitrageCalculationResult:
self._pre_calculation_check(override_state)

state_overrides = self._sort_overrides(override_state)

# bound the amount to be swapped
Expand Down

0 comments on commit 1786221

Please sign in to comment.