fix: name of env var

This commit is contained in:
rymnc 2022-12-02 18:01:49 +05:30
parent 8ce6348e2d
commit f0128b48ff
No known key found for this signature in database
GPG Key ID: C740033EE3F41EBD
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ dotenv.config();
// Interep has not updated their verifiers, so the proof generated by createProof will not work :( Have raised the issue with their team
async function main() {
if (!process.env.PRIVATE_KEY_TO_GENERATE_SECRET) {
throw new Error("ACTUAL_PK not set");
throw new Error("PRIVATE_KEY_TO_GENERATE_SECRET not set");
}
if (!process.env.PRIVATE_KEY) {
throw new Error("PRIVATE_KEY not set");