Skip to content

Commit 8f92ea7

Browse files
authored
Merge pull request #2867 from privacy-ethereum/fix/maci-18-incorrect-comments-for-poll-functions
fix: maci 18 incorrect comments for poll functions
2 parents 7f63b36 + b40e37b commit 8f92ea7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/contracts/contracts/Poll.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ contract Poll is Clone, Params, Utilities, SnarkCommon, IPoll {
431431
}
432432

433433
/// @notice Verify the proof for joined Poll
434-
/// @param _index Index of the MACI's stateRootOnSignUp when the user signed up
434+
/// @param _index Index of the Poll's pollStateRootsOnJoin when the user joined
435435
/// @param _proof The zk-SNARK proof
436436
/// @return isValid Whether the proof is valid
437437
function verifyJoinedPollProof(uint256 _index, uint256[8] memory _proof) public view returns (bool isValid) {
@@ -466,7 +466,7 @@ contract Poll is Clone, Params, Utilities, SnarkCommon, IPoll {
466466
}
467467

468468
/// @notice Get public circuit inputs for poll joined circuit
469-
/// @param _index Index of the MACI's stateRootOnSignUp when the user signed up
469+
/// @param _index Index of the Poll's pollStateRootsOnJoin when the user joined
470470
/// @return publicInputs Public circuit inputs
471471
function getPublicJoinedCircuitInputs(uint256 _index) public view returns (uint256[] memory publicInputs) {
472472
publicInputs = new uint256[](1);

0 commit comments

Comments
 (0)