Skip to content

Commit

Permalink
fix: obsolete comment within _doPreExecHooks (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaypaik committed Jan 25, 2024
1 parent e10e80e commit ae12350
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit ae12350

Please sign in to comment.