Set methods before calling createClient

pull/4144/head
ioedeveloper 1 year ago
parent 9c9606d18f
commit 44e900f816
  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