section 6, when run make slither, //slither-disable-next-line not work #240
Unanswered
Vincent71399
asked this question in
Q&A
Replies: 1 comment
-
Hello @Vincent71399, It has been long since I used Slither, so I am unsure what is wrong here, but I think you can report on Slither's official GitHub page https://github.com/crytic/slither |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
even with //slither-disable-next-line or //slither-disable-start, the issue will still appear in the report below.
function getCalculatedFee(IERC20 token, uint256 amount) public view returns (uint256 fee) {
//slither-disable-next-line divide-before-multiply
uint256 valueOfBorrowedToken = (amount * getPriceInWeth(address(token))) / s_feePrecision;
//slither-disable-next-line divide-before-multiply
fee = (valueOfBorrowedToken * s_flashLoanFee) / s_feePrecision;
}
Beta Was this translation helpful? Give feedback.
All reactions