fixed a bug

This commit is contained in:
Yash Goyal
2024-04-10 15:50:23 +05:30
parent c945ae81f3
commit d56d46864a

View File

@@ -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;