Clarify mapping named parameters (#5204)

This commit is contained in:
cairo
2024-09-19 15:16:52 +02:00
committed by GitHub
parent 204ffee531
commit f3825ab335

View File

@ -43,7 +43,7 @@ abstract contract GovernorCountingFractional is Governor {
/**
* @dev Mapping from proposal ID to vote tallies for that proposal.
*/
mapping(uint256 => ProposalVote) private _proposalVotes;
mapping(uint256 proposalId => ProposalVote) private _proposalVotes;
/**
* @dev A fractional vote params uses more votes than are available for that user.