Skip to content

Commit

Permalink
fix: do not update allocation status when collecting rebates
Browse files Browse the repository at this point in the history
Signed-off-by: Tomás Migone <[email protected]>
  • Loading branch information
tmigone authored and juanmardefago committed Apr 11, 2024
1 parent 34be122 commit d268de2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/mappings/staking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d268de2

Please sign in to comment.