Updating a pool’s total points doesn’t affect existing stake positions for rewards calculation
The staking contract calculates rewards using the current total points of the pool, not the total points at the time each stake was made. This means that when new stakes increase total points, existing stakers earn fewer rewards, and when stakes are withdrawn, remaining stakers earn more; an attacker can also deliberately claim rewards for another user at a moment when total points are high to reduce that user's rewards.
Neo Tokyo contest
High