From 384ba5284055c74b227299bb124d92555d3cbac2 Mon Sep 17 00:00:00 2001 From: Daniel Kales <11509575+dkales@users.noreply.github.com> Date: Thu, 6 Jun 2024 13:24:04 +0200 Subject: [PATCH] fix: missing call to bool_or --- circom-mpc-vm/src/mpc_vm.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/circom-mpc-vm/src/mpc_vm.rs b/circom-mpc-vm/src/mpc_vm.rs index e49dd4b5..61b8353a 100644 --- a/circom-mpc-vm/src/mpc_vm.rs +++ b/circom-mpc-vm/src/mpc_vm.rs @@ -337,7 +337,11 @@ impl> Component todo!(), + op_codes::MpcOpCode::BoolOr => { + let rhs = self.pop_field(); + let lhs = self.pop_field(); + self.push_field(protocol.vm_bool_or(lhs, rhs)?); + } op_codes::MpcOpCode::BoolAnd => { let rhs = self.pop_field(); let lhs = self.pop_field();