The calculations to distribute the remaining funds equally among the claimants split it by the total number of players and not the number of claimants.
Pot.sol
, line 57, closePot()
:
Rather than being divided by the length of the player array, it should be divided by the length of the claimants array.
It leaves rewards stuck in the contract permanently.
VSCode
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.