From 4ebca0f34d31b0d795b19b765295515895e8a27b Mon Sep 17 00:00:00 2001 From: Dozie2001 Date: Mon, 29 Jul 2024 13:01:00 +0100 Subject: [PATCH] refactor(contracts): removed unsused argument --- packages/contracts/contracts/SemaphoreVoting.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/contracts/contracts/SemaphoreVoting.sol b/packages/contracts/contracts/SemaphoreVoting.sol index 350e70f..86d858a 100644 --- a/packages/contracts/contracts/SemaphoreVoting.sol +++ b/packages/contracts/contracts/SemaphoreVoting.sol @@ -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(); }