Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

audit: unused function #197

Merged
merged 1 commit into from
Jun 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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