Skip to content

Commit

Permalink
questions: update hasVotedOption and inherit doc
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoAcosta committed Oct 13, 2024
1 parent d544162 commit 6c9308f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/voting/FixedQuestion.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/voting/OpenQuestion.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6c9308f

Please sign in to comment.