Skip to content

Commit

Permalink
Fix missing override check
Browse files Browse the repository at this point in the history
  • Loading branch information
BowTiedDevil committed Oct 12, 2024
1 parent 94485d3 commit 76139de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/degenbot/uniswap/v2_liquidity_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ def simulate_remove_liquidity(
return UniswapV2PoolSimulationResult(
amount0_delta=-removed_reserves_token0,
amount1_delta=-removed_reserves_token1,
initial_state=self.state.copy(),
initial_state=override_state or self.state,
final_state=self.PoolState(
pool=self.address,
reserves_token0=reserves_token0 - removed_reserves_token0,
Expand Down

0 comments on commit 76139de

Please sign in to comment.