mirror of
https://github.com/logos-messaging/js-rln.git
synced 2026-01-02 13:43:06 +00:00
bug: fix access to the network
This commit is contained in:
parent
86d4f56818
commit
3511513ee5
@ -381,7 +381,7 @@ export class RLNInstance {
|
||||
}
|
||||
|
||||
const chainId = credentials.membership.chainId;
|
||||
const network = await this._contract.registry.getNetwork();
|
||||
const network = await this._contract.registry.provider.getNetwork();
|
||||
const currentChainId = network.chainId;
|
||||
if (chainId !== currentChainId) {
|
||||
throw Error(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user