fix: unaddressed variable

This commit is contained in:
danisharora099 2022-12-23 18:32:35 +05:30
parent 222629cc64
commit d19aaddfbe
No known key found for this signature in database
GPG Key ID: FBD2BF500037F135
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();