Skip to content

Commit

Permalink
fix: move variable (#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
snreynolds authored Dec 2, 2024
1 parent c71e4b9 commit 1d92e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PositionManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,8 @@ contract PositionManager is

// Can only call modify if there is non zero liquidity.
BalanceDelta feesAccrued;
BalanceDelta liquidityDelta;
if (liquidity > 0) {
BalanceDelta liquidityDelta;
// do not use _modifyLiquidity as we do not need to notify on modification for burns.
(liquidityDelta, feesAccrued) = poolManager.modifyLiquidity(
poolKey,
Expand Down

0 comments on commit 1d92e95

Please sign in to comment.