diff --git a/packages/protocols/src/nRln.ts b/packages/protocols/src/nRln.ts index daa7390..3fd821e 100644 --- a/packages/protocols/src/nRln.ts +++ b/packages/protocols/src/nRln.ts @@ -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() diff --git a/packages/protocols/src/rln.ts b/packages/protocols/src/rln.ts index 6357d00..2b00d73 100644 --- a/packages/protocols/src/rln.ts +++ b/packages/protocols/src/rln.ts @@ -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() }