Skip to content

Commit ad7fefc

Browse files
fix: remove redundant selector clearing code
1 parent b141e3b commit ad7fefc

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/account/ModuleManagerInternals.sol

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,6 @@ abstract contract ModuleManagerInternals is IModularAccount {
9595
_validationData.isGlobal = false;
9696
_validationData.isSignatureValidation = false;
9797
_validationData.isUserOpValidation = false;
98-
99-
// Clear the selectors
100-
uint256 length = _validationData.selectors.length();
101-
for (uint256 i = 0; i < length; ++i) {
102-
_validationData.selectors.remove(_validationData.selectors.at(0));
103-
}
10498
}
10599

106100
function _addExecHooks(EnumerableSet.Bytes32Set storage hooks, HookConfig hookConfig) internal {

0 commit comments

Comments
 (0)