Skip to content

Commit

Permalink
chore: fix builds of noir_js_backend_barretenberg
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Jan 9, 2024
1 parent 3c8f83e commit 89bf498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tooling/noir_js_backend_barretenberg/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class BarretenbergBackend implements Backend {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
//@ts-ignore
const { Barretenberg, RawBuffer, Crs } = await import('@aztec/bb.js');
const api = await Barretenberg.new({ threads: this.options.threads });
const api = await Barretenberg.new(this.options.threads);

const [_exact, _total, subgroupSize] = await api.acirGetCircuitSizes(this.acirUncompressedBytecode);
const crs = await Crs.new(subgroupSize + 1);
Expand Down

0 comments on commit 89bf498

Please sign in to comment.