Fix typo casted -> cast

This commit is contained in:
Francisco Giordano
2021-08-13 18:15:44 -03:00
parent 049ff9a3c7
commit 9253c614d2
4 changed files with 7 additions and 7 deletions

View File

@ -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)) {