From d56d46864ab58cf6282024c499ffcdc4d98663db Mon Sep 17 00:00:00 2001 From: Yash Goyal Date: Wed, 10 Apr 2024 15:50:23 +0530 Subject: [PATCH] fixed a bug --- packages/hardhat/contracts/maci-contracts/MACI.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hardhat/contracts/maci-contracts/MACI.sol b/packages/hardhat/contracts/maci-contracts/MACI.sol index 5156f49..43a40c7 100644 --- a/packages/hardhat/contracts/maci-contracts/MACI.sol +++ b/packages/hardhat/contracts/maci-contracts/MACI.sol @@ -249,7 +249,7 @@ contract MACI is IMACI, Params, Utilities, Ownable { address _verifier, address _vkRegistry, bool _isQv - ) public virtual onlyOwner returns (PollContracts memory pollAddr) { + ) public virtual onlyManager returns (PollContracts memory pollAddr) { // cache the poll to a local variable so we can increment it uint256 pollId = nextPollId;