There is an empty loop in the function _getWeights, which seems to be due to the lack of a check for newShortMovingAverages.
There is an empty loop in the function _getWeights. Maybe the project owner forgot to delete this code, or maybe they missed the check for newShortMovingAverages.
Leaving unused code behind or missing some critical checks, such as missing a check on newShortMovingAverages.
VScode
Confirm this code.
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelyhood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
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.