Merge branch 'master' of github.com:waku-org/js-waku-examples into weboko/create-waku-imp

This commit is contained in:
weboko 2022-12-23 19:13:22 +01:00
commit 89d07f3419
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

View File

@ -280,7 +280,7 @@
importFromWalletButton.onclick = async () => {
const signer = provider.getSigner();
const signature = await signer.signMessage(signatureMessage);
const signature = await signer.signMessage(DEFAULT_SIGNATURE_MESSAGE);
membershipKey = await rlnInstance.generateSeededMembershipKey(
signature
@ -401,6 +401,7 @@
registerButton.disabled = true;
const pubkey = ethers.BigNumber.from(membershipKey.IDCommitment);
const price = await rlnContract.MEMBERSHIP_DEPOSIT();
const signer = provider.getSigner();