The Pot::closePot
may fail to fully distribute all remaining rewards. This can result in leftover funds within the contract after the pot is closed, potentially leading to unclaimed rewards, incorrect close pot and unexpected behavior.
The Pot::closePot
may fail to fully distribute all remaining rewards due to transfer failed or potential precision loss in integer division and incorrectly distribution of Pot::remainingRewards
at
This can result in leftover funds within the contract after the pot is closed, potentially leading to unclaimed rewards and unexpected behavior.
The pot
is not close correctly, there may have funds in the contract, and if the funds is bigger than player's reward, then an unclaim player can claim cut after the pot
is closed.
Manual Review
Transfer the rest of funds to the owner, and add a check in Pot::closePot
function
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.