Function NestedFactory::removeOperator
forbids removing first operator
#69
Labels
1 (Low Risk)
Assets are not at risk. State handling, function incorrect as to spec, issues with comments
bug
Something isn't working
duplicate
This issue or pull request already exists
Handle
pmerkleplant
Vulnerability details
Impact
The function
removeOperator
inNestedFacotry.sol
requires that the operatorto remove has an index greater than 0, see line 84.
This disabled the functionality of removing the operator at index 0, i.e. the
first added operator.
Recommended Mitigation Steps
Remove the
require
statement.The text was updated successfully, but these errors were encountered: