Minimal Anti Collusion Infrastructure (MACI) / validateSalt
Function: validateSalt()
validateSalt(
salt
):boolean
Defined in: packages/sdk/ts/vote/utils.ts:12
Run both format check and size check on a salt value
Parameters
salt
bigint
the salt to validate
Returns
boolean
whether it is valid or not