Unverified Commit f77fd466 by Joey Committed by GitHub

fix typo in GovernorCountingSimple (#2879)

Co-authored-by: Joey Santoro <joseph.santoro@duke.edu>
parent 6af4ed61
...@@ -70,7 +70,7 @@ abstract contract GovernorCountingSimple is Governor { ...@@ -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) { function _voteSucceeded(uint256 proposalId) internal view virtual override returns (bool) {
ProposalVote storage proposalvote = _proposalVotes[proposalId]; ProposalVote storage proposalvote = _proposalVotes[proposalId];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment