QA Report #305
Labels
bug
Something isn't working
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
valid
1.
ecrecover
precompile internally checks if the value is 27 or 28. No need to check in the client side.SignatureDecoder
usesif
block to check the values forv
.reference: ethereum/yellowpaper#860
2. Typecast to
uint256
maynot be required_newTotalLent
is of typeuint256
and typecasting to same type again is not required.3. Adding a return statement when the function defines a named return variable is redundant.
4. Redundant assignment
The text was updated successfully, but these errors were encountered: