Skip to content

Commit

Permalink
docs: minor improvement
Browse files Browse the repository at this point in the history
Co-authored-by: Quentin Garchery <QGarchery@users.noreply.github.com>
Signed-off-by: MathisGD <74971347+MathisGD@users.noreply.github.com>
  • Loading branch information
MathisGD and QGarchery authored Feb 29, 2024
1 parent c575b0b commit e0e5905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PublicAllocator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ contract PublicAllocator is IPublicAllocatorStaticTyping {

/* MODIFIER */

/// @dev Reverts if the caller is not the admin for this vault or the vault owner.
/// @dev Reverts if the caller is not admin of this vault.
modifier onlyAdmin(address vault) {
if (msg.sender != admin[vault] && msg.sender != IMetaMorpho(vault).owner()) revert ErrorsLib.NotAdmin();
_;
Expand Down

0 comments on commit e0e5905

Please sign in to comment.