Skip to content

Commit

Permalink
Confirm revert message for always-allow runtime validation
Browse files Browse the repository at this point in the history
  • Loading branch information
adamegyed committed Mar 5, 2024
1 parent 01d5449 commit 81f3c51
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/account/UpgradeableModularAccount.sol
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,6 @@ contract UpgradeableModularAccount is
} else {
// _PRE_HOOK_ALWAYS_DENY is not permitted here.
// If this is _RUNTIME_VALIDATION_ALWAYS_ALLOW, the call should revert.
// Todo: this is the wrong error if it is set to _RUNTIME_VALIDATION_ALWAYS_ALLOW.
revert InvalidConfiguration();
}
}
Expand Down

0 comments on commit 81f3c51

Please sign in to comment.