Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: obsolete comment within _doPreExecHooks #112

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/account/UpgradeableModularAccount.sol
Original file line number Diff line number Diff line change
Expand Up @@ -587,8 +587,8 @@ contract UpgradeableModularAccount is

if (hasPostOnlyExecHooks) {
// If we have post-only hooks, we allocate an single FunctionReference[] for them, and one element
// in the args for their empty `bytes` argument. We put this into the first element of the post
// hooks in order to have it run last.
// in the args for their empty `bytes` argument. We put this into the last element of the post
// hooks, which means post-only hooks will run before any other post hooks.
postHooksToRun[postHooksToRunLength - 1] =
CastLib.toFunctionReferenceArray(selectorData.executionHooks.postOnlyHooks.getAll());
}
Expand Down