Skip to content

Commit

Permalink
Merge pull request #209 from gnoswap-labs/hotfix/fix-position-api-cal…
Browse files Browse the repository at this point in the history
…culate-fee

hotfix: position api unclaimed fee calculation
  • Loading branch information
notJoon authored Apr 16, 2024
2 parents c8e83f1 + 09f42ce commit 8b8705a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion position/_RPC_api.gno
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func rpcMakePosition(lpTokenId uint64) RpcPosition {
unclaimedFee0 := u256.Zero()
unclaimedFee1 := u256.Zero()
if !burned {
unclaimedFee0, unclaimedFee1 := unclaimedFee(lpTokenId)
unclaimedFee0, unclaimedFee1 = unclaimedFee(lpTokenId)
}

return RpcPosition{
Expand Down

0 comments on commit 8b8705a

Please sign in to comment.