Jelajahi Sumber

fix typo in GovernorCountingSimple (#2879)

Co-authored-by: Joey Santoro <joseph.santoro@duke.edu>
Joey 4 tahun lalu
induk
melakukan
f77fd4667e

+ 1 - 1
contracts/governance/extensions/GovernorCountingSimple.sol

@@ -70,7 +70,7 @@ abstract contract GovernorCountingSimple is Governor {
     }
 
     /**
-     * @dev See {Governor-_voteSucceeded}. In this module, the forVotes must be scritly over the againstVotes.
+     * @dev See {Governor-_voteSucceeded}. In this module, the forVotes must be strictly over the againstVotes.
      */
     function _voteSucceeded(uint256 proposalId) internal view virtual override returns (bool) {
         ProposalVote storage proposalvote = _proposalVotes[proposalId];