Skip to content

Commit

Permalink
fix: rename X218 for X128
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulla-cb committed Sep 24, 2024
1 parent 47e3c30 commit f709cb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/shared/FeeMath.sol
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ library FeeMath {
(uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128) =
manager.getPositionInfo(poolId, address(posm), config.tickLower, config.tickUpper, bytes32(tokenId));

(uint256 feeGrowthInside0X218, uint256 feeGrowthInside1X128) =
(uint256 feeGrowthInside0X128, uint256 feeGrowthInside1X128) =
manager.getFeeGrowthInside(poolId, config.tickLower, config.tickUpper);

feesOwed = getFeesOwed(
feeGrowthInside0X218, feeGrowthInside1X128, feeGrowthInside0LastX128, feeGrowthInside1LastX128, liquidity
feeGrowthInside0X128, feeGrowthInside1X128, feeGrowthInside0LastX128, feeGrowthInside1LastX128, liquidity
);
}

Expand Down

0 comments on commit f709cb4

Please sign in to comment.