Skip to content

Commit 5389943

Browse files
Optimize Module Manager (#178) (#179)
Co-authored-by: David <[email protected]>
1 parent 38231a3 commit 5389943

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/account/ModuleManagerInternals.sol

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,7 @@ abstract contract ModuleManagerInternals is IModularAccount {
9797

9898
_validationData.isGlobal = false;
9999
_validationData.isSignatureValidation = false;
100-
101-
// Clear the selectors
102-
uint256 length = _validationData.selectors.length();
103-
for (uint256 i = 0; i < length; ++i) {
104-
_validationData.selectors.remove(_validationData.selectors.at(0));
105-
}
100+
_validationData.isUserOpValidation = false;
106101
}
107102

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

0 commit comments

Comments
 (0)