nrln genIdentifier added

This commit is contained in:
bdim1
2021-10-25 22:35:28 +02:00
parent 0d8c1d3bf1
commit e4fa824cb3
2 changed files with 9 additions and 2 deletions

View File

@@ -91,6 +91,14 @@ class NRln extends ZkProtocol {
}
return f0
}
/**
*
* @returns unique identifier of the rln dapp
*/
genIdentifier(): bigint {
return Fq.random()
}
}
export default new NRln()

View File

@@ -72,9 +72,8 @@ class Rln extends ZkProtocol {
/**
*
* @returns unique identifier of rln dapp
* @returns unique identifier of the rln dapp
*/
genIdentifier(): bigint {
return Fq.random()
}