_applyBoost calculates the boost based on user veToken balance. but it eventually devided by e18. It make the whole expression to be zero.
Here boost is a value between 25000 to 10000 based on user veToken balance. baseWeight is a value below to 10000. So this expression (baseWeight * boost) / 1e18 becomes to zero.
Due to that round off to 0, getUserWeight returns 0 , which makes user earned to zero. Meaning user reward amount is zero.
Manual Review
Remove 1e18 devided by at the end.
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.