fix: change var name

a value is cannot be a default value if it's not configurable
This commit is contained in:
danisharora099 2023-01-23 16:03:09 +05:30
parent a0ff2445b8
commit 7947f3e577
No known key found for this signature in database
GPG Key ID: FBD2BF500037F135
1 changed files with 2 additions and 2 deletions

View File

@ -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