Open code423n4 opened 1 year ago
In case if someone transfers balance to the SPONSORSHIP_ADDRESS, then _transferBalance function handles total balance incorrectly. This will affect frequency of prize winning.
SPONSORSHIP_ADDRESS
_transferBalance
Pool together team has fixed the issue by not allowing to transfer to SPONSORSHIP_ADDRESS. As result, attack is not possible anymore.
Picodes marked the issue as satisfactory
Lines of code
Vulnerability details
Issue mitigated
About the problem
In case if someone transfers balance to the
SPONSORSHIP_ADDRESS
, then_transferBalance
function handles total balance incorrectly. This will affect frequency of prize winning.Solution
Pool together team has fixed the issue by not allowing to transfer to
SPONSORSHIP_ADDRESS
. As result, attack is not possible anymore.