From d268de2d39b457da341c3530e323eecb23c0f765 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Migone?= Date: Mon, 8 Apr 2024 14:59:34 -0300 Subject: [PATCH] fix: do not update allocation status when collecting rebates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomás Migone --- src/mappings/staking.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mappings/staking.ts b/src/mappings/staking.ts index 32c8a52..3b92837 100644 --- a/src/mappings/staking.ts +++ b/src/mappings/staking.ts @@ -704,7 +704,6 @@ export function handleRebateCollected(event: RebateCollected): void { allocation.queryFeeRebates = event.params.queryRebates allocation.distributedRebates = allocation.distributedRebates.plus(event.params.queryRebates) allocation.delegationFees = event.params.delegationRewards - allocation.status = 'Closed' allocation.save() // Update epoch