diff --git a/src/voting/FixedQuestion.sol b/src/voting/FixedQuestion.sol index 58b040e..8c67b47 100644 --- a/src/voting/FixedQuestion.sol +++ b/src/voting/FixedQuestion.sol @@ -53,7 +53,7 @@ contract FixedQuestion is Question, IFixedQuestion { } /// @inheritdoc Question - function hasVoted( + function hasVotedOption( address voter, uint256 optionId ) public view override(IQuestion, Question) returns (bool) { diff --git a/src/voting/OpenQuestion.sol b/src/voting/OpenQuestion.sol index 853b1aa..a0d6143 100644 --- a/src/voting/OpenQuestion.sol +++ b/src/voting/OpenQuestion.sol @@ -64,7 +64,7 @@ contract OpenQuestion is Question, IOpenQuestion { /// @dev Returns true if the user has voted for the option, false otherwise /// @param voter The address of the user /// @param optionId The ID of the option - function hasVoted( + function hasVotedOption( address voter, uint256 optionId ) public view override(IQuestion, Question) returns (bool) {