Players can claim the throne even after the grace period has expired, preventing legitimate winner declarations and disrupting game flow.
The claimThrone() function lacks validation to prevent claims after the grace period expires. This allows players to indefinitely extend the game by claiming the throne after a winner should have been declared.
Missing validation check in claimThrone() to ensure the grace period hasn't expired:
Game Disruption: Winners cannot be declared if new claims keep resetting the timer
Unfair Advantage: Late claimers can "snipe" victories right before grace period expiration
Economic Manipulation: Malicious actors can prevent legitimate winners from claiming prizes
Add grace period validation to claimThrone():
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.