From 44e900f816cb1c7a48f0f6e22dbe3179dfeed573 Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Thu, 26 Oct 2023 13:42:23 +0100 Subject: [PATCH] Set methods before calling createClient --- apps/circuit-compiler/src/app/services/circomPluginClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/circuit-compiler/src/app/services/circomPluginClient.ts b/apps/circuit-compiler/src/app/services/circomPluginClient.ts index 77ca081bac..030db67972 100644 --- a/apps/circuit-compiler/src/app/services/circomPluginClient.ts +++ b/apps/circuit-compiler/src/app/services/circomPluginClient.ts @@ -18,9 +18,9 @@ export class CircomPluginClient extends PluginClient { constructor() { super() + this.methods = ['init', 'parse', 'compile', 'generateR1cs'] createClient(this) this.internalEvents = new EventManager() - this.methods = ['init', 'parse', 'compile'] this.onload() }