Set methods before calling createClient

pull/5370/head
ioedeveloper 1 year ago
parent 20b8a9b6bc
commit b6491aca2c
  1. 2
      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()
}

Loading…
Cancel
Save