From ea53f26568992c081dd7a5b3d4f81bc2a1ca3fe1 Mon Sep 17 00:00:00 2001 From: status-im-auto Date: Mon, 23 Jan 2023 14:40:47 +0000 Subject: [PATCH] Updates --- rln-js/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rln-js/index.html b/rln-js/index.html index ec9206e..62fd950 100644 --- a/rln-js/index.html +++ b/rln-js/index.html @@ -205,7 +205,7 @@ let retrievedRLNEvents = false; const rlnInstancePromise = create(); - const DEFAULT_SIGNATURE_MESSAGE = + const SIGNATURE_MESSAGE = "The signature of this message will be used to generate your RLN credentials. Anyone accessing it may send messages on your behalf, please only share with the RLN dApp"; // Load zero-kit WASM blob. @@ -283,7 +283,7 @@ importFromWalletButton.onclick = async () => { const signer = provider.getSigner(); - const signature = await signer.signMessage(DEFAULT_SIGNATURE_MESSAGE); + const signature = await signer.signMessage(SIGNATURE_MESSAGE); membershipKey = await rlnInstance.generateSeededMembershipKey( signature