Skip to content

Commit

Permalink
chore: fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Sep 27, 2023
1 parent 45ae00b commit 7b08e8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion acvm-repo/acvm/src/pwg/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ impl<'a, B: BlackBoxFunctionSolver> ACVM<'a, B> {

/// Returns a slice containing the opcodes of the circuit being executed.
pub fn opcodes(&self) -> &[Opcode] {
&self.opcodes
self.opcodes
}

/// Returns the index of the current opcode to be executed.
Expand Down
2 changes: 1 addition & 1 deletion acvm-repo/acvm_js/src/execute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ pub async fn execute_circuit_with_black_box_solver(
console_error_panic_hook::set_once();
let circuit: Circuit = Circuit::read(&*circuit).expect("Failed to deserialize circuit");

let mut acvm = ACVM::new(&solver.0, circuit.opcodes, initial_witness.into());
let mut acvm = ACVM::new(&solver.0, &circuit.opcodes, initial_witness.into());

loop {
let solver_status = acvm.solve();
Expand Down

0 comments on commit 7b08e8e

Please sign in to comment.