Skip to content

Commit

Permalink
fixed a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
yashgo0018 committed Apr 10, 2024
1 parent c945ae8 commit d56d468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hardhat/contracts/maci-contracts/MACI.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit d56d468

Please sign in to comment.