diff --git a/deploy/stage/common-values-iris-mpc.yaml b/deploy/stage/common-values-iris-mpc.yaml index ef005b52a..e949a2bd0 100644 --- a/deploy/stage/common-values-iris-mpc.yaml +++ b/deploy/stage/common-values-iris-mpc.yaml @@ -1,4 +1,4 @@ -image: "ghcr.io/worldcoin/iris-mpc:ee89ea0b0f1358d69ffbbf730b5ae427f7361153" +image: "ghcr.io/worldcoin/iris-mpc:c864d26668dcc5f1f86aba50a74563d9922a839f" environment: stage replicaCount: 1 diff --git a/iris-mpc/src/bin/server.rs b/iris-mpc/src/bin/server.rs index f663a8f01..2517d9323 100644 --- a/iris-mpc/src/bin/server.rs +++ b/iris-mpc/src/bin/server.rs @@ -830,23 +830,23 @@ async fn server_main(config: Config) -> eyre::Result<()> { true => Some(match_ids[i].iter().map(|x| x + 1).collect::>()), false => None, }, - match matches[i] { - true => Some( + match partial_match_ids_left[i].is_empty() { + false => Some( partial_match_ids_left[i] .iter() .map(|x| x + 1) .collect::>(), ), - false => None, + true => None, }, - match matches[i] { - true => Some( + match partial_match_ids_right[i].is_empty() { + false => Some( partial_match_ids_right[i] .iter() .map(|x| x + 1) .collect::>(), ), - false => None, + true => None, }, );