Merge pull request #171 from waku-org/danisharora/fix-typo

fix: unaddressed variable
This commit is contained in:
Danish Arora 2022-12-23 18:36:22 +05:30 committed by GitHub
commit 010d328942
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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();