Skip to content

Commit

Permalink
fix: removed _assertValidAuthenticator function (#197)
Browse files Browse the repository at this point in the history
Co-authored-by: Orlando <[email protected]>
  • Loading branch information
Orland0x and Orlando authored Jun 13, 2023
1 parent 75241c6 commit 9ce547c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Space.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9ce547c

Please sign in to comment.