From 391225fcfdf425aa2588433b2922679a378cbaa6 Mon Sep 17 00:00:00 2001 From: Philipp Sippl Date: Tue, 5 Nov 2024 10:05:55 -0800 Subject: [PATCH] don't count dropped message in batch (#657) don't count dropped --- iris-mpc/src/bin/server.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iris-mpc/src/bin/server.rs b/iris-mpc/src/bin/server.rs index ffd7a1dad..863cfb5a5 100644 --- a/iris-mpc/src/bin/server.rs +++ b/iris-mpc/src/bin/server.rs @@ -235,7 +235,8 @@ async fn receive_batch( if skip_request_ids.contains(&smpc_request.signup_id) { // Some party (maybe us) already meant to delete this request, so we - // skip it. + // skip it. Ignore this message when calculating the batch size. + msg_counter -= 1; continue; }