We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 008f366 + a10d2c8 commit 5271507Copy full SHA for 5271507
1 file changed
src/account/UpgradeableModularAccount.sol
@@ -509,7 +509,7 @@ contract UpgradeableModularAccount is
509
510
// Check to see if there is a postExec hook set for this preExec hook
511
FunctionReference postExecHook =
512
- getAccountStorage().selectorData[msg.sig].associatedPostExecHooks[preExecHook];
+ getAccountStorage().selectorData[selector].associatedPostExecHooks[preExecHook];
513
if (postExecHook != FunctionReferenceLib._EMPTY_FUNCTION_REFERENCE) {
514
postHooksToRun[postExecHooksLength].postExecHook = postExecHook;
515
postHooksToRun[postExecHooksLength].preExecHookReturnData = preExecHookReturnData;
0 commit comments