Minimal Anti Collusion Infrastructure (MACI) / invalidateVotes
Function: invalidateVotes()
invalidateVotes(
args
):Promise
<undefined
|string
>
Defined in: packages/sdk/ts/vote/invalidate.ts:21
Invalidate votes
Parameters
args
IInvalidateVotesArgs
invalidate votes args
Returns
Promise
<undefined
| string
>
transaction hash
Dev
This function is used to invalidate votes for a given poll by sending a key change command with a new random key Given messages are processed in reverse order, this will be processed before previous votes and would require previous votes to have been casted with this new key, which is impossible.