Skip to content

Commit

Permalink
Merge pull request #171 from notJoon/fix-staker-wrong-name
Browse files Browse the repository at this point in the history
chore(staker): Fix wrong function name in staker
  • Loading branch information
r3v4s authored Feb 26, 2024
2 parents b32c233 + 85318f7 commit b983d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion staker/staker.gno
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ func getTokenPairBalanceFromPosition(tokenId uint64) (bigint, bigint) {
lowerX96 := common.TickMathGetSqrtRatioAtTick(pn.PositionGetPositionTickLower(tokenId))
upperX96 := common.TickMathGetSqrtRatioAtTick(pn.PositionGetPositionTickUpper(tokenId))

token0Balance, token1Balance := common.LiquidityAmountsGetAmountsForLiquidity(
token0Balance, token1Balance := common.GetAmountsForLiquidity(
currentX96,
lowerX96,
upperX96,
Expand Down

0 comments on commit b983d90

Please sign in to comment.