mirror of
https://github.com/personaelabs/spartan-ecdsa.git
synced 2026-01-09 05:57:55 -05:00
fix: this lead to the unintentional breaking change
This commit is contained in:
@@ -80,7 +80,7 @@ export class MembershipProver extends Profiler implements IProver {
|
||||
|
||||
this.time("Load circuit");
|
||||
const useRemoteCircuit =
|
||||
this.useRemoteCircuit ?? typeof window !== "undefined";
|
||||
this.useRemoteCircuit || typeof window !== "undefined";
|
||||
const circuitBin = await loadCircuit(this.circuit, useRemoteCircuit);
|
||||
this.timeEnd("Load circuit");
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ export class MembershipVerifier extends Profiler implements IVerifier {
|
||||
|
||||
this.circuit = options.circuit;
|
||||
this.useRemoteCircuit =
|
||||
options.useRemoteCircuit ?? typeof window !== "undefined";
|
||||
options.useRemoteCircuit || typeof window !== "undefined";
|
||||
}
|
||||
|
||||
async initWasm() {
|
||||
|
||||
Reference in New Issue
Block a user