From ba8a4ee4bfb002afc1fd1754591d5a6c9b9631e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Pr=C3=A9vost?= <998369+prevostc@users.noreply.github.com> Date: Wed, 3 Jul 2024 21:19:01 +0200 Subject: [PATCH] Fix reward pool interaction --- src/clm/interaction.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clm/interaction.ts b/src/clm/interaction.ts index d6af06d..6a93bbc 100644 --- a/src/clm/interaction.ts +++ b/src/clm/interaction.ts @@ -118,7 +118,7 @@ export function handleRewardPoolTransfer(event: RewardPoolTransferEvent): void { for (let i = 0; i < rewardPoolBalancesDelta.length; i++) { negRewardPoolBalancesDelta.push(rewardPoolBalancesDelta[i].neg()) } - updateUserPosition(clm, event, event.params.from, ZERO_BI, rewardPoolBalancesDelta, []) + updateUserPosition(clm, event, event.params.from, ZERO_BI, negRewardPoolBalancesDelta, []) } }