From 5337ea41052e1ac01134fde2d3db29ee3d94e186 Mon Sep 17 00:00:00 2001 From: Jesse Abramowitz Date: Wed, 11 Dec 2024 16:32:09 -0500 Subject: [PATCH] fix test --- crates/threshold-signature-server/src/validator/api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/threshold-signature-server/src/validator/api.rs b/crates/threshold-signature-server/src/validator/api.rs index 179342402..074629da9 100644 --- a/crates/threshold-signature-server/src/validator/api.rs +++ b/crates/threshold-signature-server/src/validator/api.rs @@ -295,7 +295,7 @@ pub async fn validate_new_reshare( .await? .ok_or_else(|| ValidatorErr::ChainFetch("Not Currently in a reshare"))?; - if chain_data.block_number != reshare_data.block_number.saturating_sub(1) + if chain_data.block_number != reshare_data.block_number || chain_data.new_signers != reshare_data.new_signers { return Err(ValidatorErr::InvalidData);