From 7331180f6eaba86a75e382200ab111217a4cae27 Mon Sep 17 00:00:00 2001 From: Orlando Date: Tue, 13 Jun 2023 12:04:15 +0100 Subject: [PATCH] fix: removed _assertValidAuthenticator function --- src/Space.sol | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Space.sol b/src/Space.sol index e05b4dbb..9c638e0e 100644 --- a/src/Space.sol +++ b/src/Space.sol @@ -419,11 +419,6 @@ contract Space is ISpace, Initializable, IERC4824, UUPSUpgradeable, OwnableUpgra // TODO: should we check that there are still authenticators left? same for other setters.. } - /// @dev Reverts if `msg.sender` is not in the list of whitelisted authenticators. - function _assertValidAuthenticator() internal view { - if (authenticators[msg.sender] != true) revert AuthenticatorNotWhitelisted(); - } - /// @dev Reverts if a specified proposal does not exist. function _assertProposalExists(Proposal memory proposal) internal pure { // startTimestamp cannot be set to 0 when a proposal is created,