Closed code423n4 closed 2 years ago
rishabh
In validateWeights function, the length of tokenList will always be equal to _token length, so replacing tokenList.length at L79 with length declared at L70 will save gas
tokenList
_token
tokenList.length
length
Manual Code Review
Duplicate of #140
Handle
rishabh
Vulnerability details
Details
In validateWeights function, the length of
tokenList
will always be equal to_token
length, so replacingtokenList.length
at L79 withlength
declared at L70 will save gasTools Used
Manual Code Review