Improper revert results in misleading the user
In MartenitsaMarketplace::collectReward
function, if the (count / requiredMartenitsaTokens)
is less than _collectedRewards[msg.sender]
, the function will always revert and users will not be able to know the reason of reverting.
Users will not be able to identify the reason of reverting of their transactions.
Manual Review
Add code in MartenitsaMarketplace::collectReward
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.