Open code423n4 opened 2 years ago
pauliax
This can be simplified to reduce gas costs by eliminating math operation:
// before require(_accountIndex + 1 <= shareholders.length, "FeeSplitter: INVALID_ACCOUNT_INDEX"); // after require(_accountIndex < shareholders.length, "FeeSplitter: INVALID_ACCOUNT_INDEX");
Handle
pauliax
Vulnerability details
Impact
This can be simplified to reduce gas costs by eliminating math operation: