Remove unnecessary virtual (#3650)
This commit is contained in:
@ -31,21 +31,20 @@ contract GovernorPreventLateQuorumMock is
|
||||
_quorum = quorum_;
|
||||
}
|
||||
|
||||
function quorum(uint256) public view virtual override returns (uint256) {
|
||||
function quorum(uint256) public view override returns (uint256) {
|
||||
return _quorum;
|
||||
}
|
||||
|
||||
function proposalDeadline(uint256 proposalId)
|
||||
public
|
||||
view
|
||||
virtual
|
||||
override(Governor, GovernorPreventLateQuorum)
|
||||
returns (uint256)
|
||||
{
|
||||
return super.proposalDeadline(proposalId);
|
||||
}
|
||||
|
||||
function proposalThreshold() public view virtual override(Governor, GovernorSettings) returns (uint256) {
|
||||
function proposalThreshold() public view override(Governor, GovernorSettings) returns (uint256) {
|
||||
return super.proposalThreshold();
|
||||
}
|
||||
|
||||
@ -55,7 +54,7 @@ contract GovernorPreventLateQuorumMock is
|
||||
uint8 support,
|
||||
string memory reason,
|
||||
bytes memory params
|
||||
) internal virtual override(Governor, GovernorPreventLateQuorum) returns (uint256) {
|
||||
) internal override(Governor, GovernorPreventLateQuorum) returns (uint256) {
|
||||
return super._castVote(proposalId, account, support, reason, params);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user