Skip to content

Commit 141ed91

Browse files
committed
fix: move variable
1 parent c71e4b9 commit 141ed91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PositionManager.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,8 +420,8 @@ contract PositionManager is
420420

421421
// Can only call modify if there is non zero liquidity.
422422
BalanceDelta feesAccrued;
423-
BalanceDelta liquidityDelta;
424423
if (liquidity > 0) {
424+
BalanceDelta liquidityDelta;
425425
// do not use _modifyLiquidity as we do not need to notify on modification for burns.
426426
(liquidityDelta, feesAccrued) = poolManager.modifyLiquidity(
427427
poolKey,

0 commit comments

Comments
 (0)