Skip to content

Commit

Permalink
Update execute.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
ludamad authored Apr 22, 2024
1 parent 3ad6baf commit 41dd78f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noir/noir-repo/tooling/nargo/src/ops/execute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ impl<'a, B: BlackBoxFunctionSolver, F: ForeignCallExecutor> ProgramExecutor<'a,
return Err(NargoError::ExecutionError(match call_stack {
Some(call_stack) => {
// First check whether we have a runtime assertion message that should be resolved on an ACVM failure
// If we do not have a runtime assertion message, we check weather the error is a brillig error with a user-defined message,
// If we do not have a runtime assertion message, we check whether the error is a brillig error with a user-defined message,
// and finally we should check whether the circuit has any hardcoded messages associated with a specific `OpcodeLocation`.
// Otherwise return the provided opcode resolution error.
if let Some(assert_message) = assert_message {
Expand Down

0 comments on commit 41dd78f

Please sign in to comment.