Minimal Anti Collusion Infrastructure (MACI) / compareVks
Function: compareVks()
compareVks(
vkOnChain
,vk
?):boolean
Defined in: packages/sdk/ts/keys/utils.ts:45
Compare two verifying keys
Parameters
vkOnChain
the verifying key on chain
IVkContractParams
| VerifyingKey
vk?
the local verifying key
IVkContractParams
| VerifyingKey
Returns
boolean
whether they are equal or not