Fix typo casted -> cast
This commit is contained in:
@ -89,7 +89,7 @@ abstract contract GovernorCountingSimple is Governor {
|
||||
) internal virtual override {
|
||||
ProposalVote storage proposalvote = _proposalVotes[proposalId];
|
||||
|
||||
require(!proposalvote.hasVoted[account], "GovernorVotingSimple: vote already casted");
|
||||
require(!proposalvote.hasVoted[account], "GovernorVotingSimple: vote already cast");
|
||||
proposalvote.hasVoted[account] = true;
|
||||
|
||||
if (support == uint8(VoteType.Against)) {
|
||||
|
||||
Reference in New Issue
Block a user