uint256 valueOfBorrowedToken = (amount * getPriceInWeth(address(token))) / s_feePrecision;
and it should be replaced with
uint256 valueOfBorrowedToken = amount * getPriceInWeth(address(token));
as it is divided by the s_feePrecision after in the 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.