Add index param to remove in function argument to reduce gas. #115
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
G (Gas Optimization)
Handle
xYrYuYx
Vulnerability details
Impact
https://github.com/code-423n4/2021-11-nested/blob/main/contracts/NestedFactory.sol#L79
Add current index of operator in function call, and check if operators[index] == operator.
If not, revert.
This will reduce gas.
Tools Used
Recommended Mitigation Steps
Remove by setting specific index, and add checker with that index
The text was updated successfully, but these errors were encountered: