nrln genIdentifier added

Former-commit-id: b5b7051dcbd2c7b925ec253831f091c1aafbb20a [formerly e4fa824cb3]
Former-commit-id: e44e729dd125cb9cab0278d5a8e76e6112914860
This commit is contained in:
bdim1
2021-10-25 22:35:28 +02:00
parent bb0abd3362
commit 31650fa59c
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()
}