Open code423n4 opened 3 years ago
paulius.eth
Tracking excludedCount separately is consuming more gas and is error-prone as you need to remember to always update it whenever excludedArray changes. Better refactor it to a view that returns excludedArray.length.
Handle
paulius.eth
Vulnerability details
Impact
Tracking excludedCount separately is consuming more gas and is error-prone as you need to remember to always update it whenever excludedArray changes. Better refactor it to a view that returns excludedArray.length.