Skip to content

Commit

Permalink
refactor(contracts): removed unsused argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Dozie2001 committed Jul 29, 2024
1 parent f2ee102 commit 4ebca0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/contracts/contracts/SemaphoreVoting.sol
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ contract SemaphoreVoting is ISemaphoreVoting, SemaphoreGroups {
}

/// @dev See {ISemaphoreVoting-castVote}.
function castVote(uint256 vote, uint256, uint256 pollId) public {
function castVote(uint256 vote, uint256 pollId) public {
if (polls[pollId].state != PollState.Ongoing) {
revert SemaphoreVoting__PollIsNotOngoing();
}
Expand Down

0 comments on commit 4ebca0f

Please sign in to comment.