The input validation check has a mismatch between the error condition and the message.
The following code snippet shows the issue:
The condition checks for both points
and amount
being zero, but the error message only refers to the amount.
The overall impact is low, as it doesn't affect the contract's security or core functionality.
Manual code review
Introduce PointsIsZero
error
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.