claimThrone leads to unintended pot inflationThe Game::claimThrone functions lacks a strict equality check, this allows users to overpay. This may lead to silent ETH loss and incorrect pot inflation.
Likelihood:
It is easy for users to accidentally send more ETH
Impact:
When users unintentionally send excess ETH, it is added to the pot without refund or warning.
Users can lose accidentally sent ETH
Add this test to GameTest.t.sol
Enforce exact ETH payment.
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.