Make Votes._getVotingUnits view (#3225)
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
This commit is contained in:
@ -207,5 +207,5 @@ abstract contract Votes is IVotes, Context, EIP712 {
|
||||
/**
|
||||
* @dev Must return the voting units held by an account.
|
||||
*/
|
||||
function _getVotingUnits(address) internal virtual returns (uint256);
|
||||
function _getVotingUnits(address) internal view virtual returns (uint256);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user