if (amount == 0) {
revert TSwapPool__MustBeMoreThanZero();
}
_;
typycally using
require( condition, " some alert what went wrong ")
_;
Good to have some alert and know better what went wrong when error occur.
Users might get confused. What mus be more than zero ?
Code review.
use require and more detailed error description so the user would know what actions need to perform.
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.