In the Pot.sol
the calculation for claimantCut
is wrongly calculated.
The claimantCut
should be calculated like that uint256 claimantCut = (remainingRewards - managerCut) / claimants.length;
but instead it is calculated like this uint256 claimantCut = (remainingRewards - managerCut) / i_players.length;
.
This can lead to wrong calculated cuts and unintented behaviour.
Manual review
Change i_players.length
to claimants.length
.
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.