From d67ebfd9f354b56a4d52f28e04e5b47069c56148 Mon Sep 17 00:00:00 2001 From: status-im-auto Date: Fri, 23 Dec 2022 13:08:09 +0000 Subject: [PATCH] Updates --- rln-js/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rln-js/index.html b/rln-js/index.html index 0fc64db..26beed9 100644 --- a/rln-js/index.html +++ b/rln-js/index.html @@ -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();