From 2bf482e86e8cc96950ff6c435fa93eee136e0b1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=BA=C3=B1ez?= Date: Mon, 1 Apr 2024 22:11:18 +0200 Subject: [PATCH] Don't update private key shares directly at the PVSS level --- ferveo/src/pvss.rs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/ferveo/src/pvss.rs b/ferveo/src/pvss.rs index 1cabb847..903c4b62 100644 --- a/ferveo/src/pvss.rs +++ b/ferveo/src/pvss.rs @@ -373,18 +373,6 @@ impl PubliclyVerifiableSS { ) } - // TODO: Consider deprecating to use PrivateKeyShare method directly - pub fn create_updated_private_key_share( - &self, - validator_keypair: &Keypair, - share_index: u32, - share_updates: &[ShareUpdate], - ) -> Result> { - // Retrieve the private key share and apply the updates - Ok(self - .decrypt_private_key_share(validator_keypair, share_index)? - .create_updated_key_share(share_updates)) - } } #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq)]