Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
notJoon committed Feb 5, 2025
1 parent c7e39a4 commit ef0e3e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ func TestDecreaseLiquidityInPosition(t *testing.T) {
bar.Approve(consts.POOL_ADDR, consts.UINT64_MAX)
foo.Approve(consts.POOL_ADDR, consts.UINT64_MAX)

resultPositionId, liquidity, fee0, fee1, amount0, amount1, poolPath := DecreaseLiquidity(lpTokenId, "318704392", "0", "0", max_timeout, false)
resultPositionId, liquidity, fee0, fee1, amount0, amount1, poolPath := DecreaseLiquidity(positionId, "318704392", "0", "0", max_timeout, false)

uassert.Equal(t, resultPositionId, positionId)
uassert.Equal(t, amount0, "19628840")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ func TestDecreaseLiquidityPosition02(t *testing.T) {
uassert.Equal(t, unclaimedFee0.ToString(), "0")
uassert.Equal(t, unclaimedFee1.ToString(), "0")

// approve fee0, fee1, lpTokenId to pool
// approve fee0, fee1, positionID to pool
bar.Approve(consts.POOL_ADDR, consts.UINT64_MAX)
foo.Approve(consts.POOL_ADDR, consts.UINT64_MAX)

Expand Down

0 comments on commit ef0e3e9

Please sign in to comment.