From d768eec32dddfcf0fd28ee3a1c4aceb43d11a41d Mon Sep 17 00:00:00 2001 From: Jesse Abramowitz Date: Thu, 8 Aug 2024 11:00:55 -0400 Subject: [PATCH] clean --- crates/threshold-signature-server/src/validator/api.rs | 2 +- node/cli/src/chain_spec/mod.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/threshold-signature-server/src/validator/api.rs b/crates/threshold-signature-server/src/validator/api.rs index 9cca91132..5c0f3c0d1 100644 --- a/crates/threshold-signature-server/src/validator/api.rs +++ b/crates/threshold-signature-server/src/validator/api.rs @@ -123,7 +123,7 @@ pub async fn new_reshare( let party_ids: BTreeSet = validators_info.iter().cloned().map(|x| PartyId::new(x.tss_account)).collect(); - // let mut new_signer_address = data.new_signer; + let pruned_old_holders = prune_old_holders(&api, &rpc, data.new_signer, validators_info.clone()).await?; diff --git a/node/cli/src/chain_spec/mod.rs b/node/cli/src/chain_spec/mod.rs index 94039aafd..79485d720 100644 --- a/node/cli/src/chain_spec/mod.rs +++ b/node/cli/src/chain_spec/mod.rs @@ -75,12 +75,12 @@ pub mod tss_account_id { pub static ref CHARLIE: sp_runtime::AccountId32 = super::hex!["946140d3d5ddb980c74ffa1bb64353b5523d2d77cdf3dc617fd63de9d3b66338"].into(); - /// Not sure what mnemonic is used to derive the following `AccountId`. + /// The `DEFAULT_DAVE_MNEMONIC` is used to derive the following `AccountId`. /// Mnemonic: "beef dutch panic monkey black glad audit twice humor gossip wealth drive" pub static ref DAVE: sp_runtime::AccountId32 = super::hex!["0a9054ef6b6b8ad0dd2c89895b2515583f2fbf1edced68e7328ae456d86b9402"].into(); - /// The `DEFAULT_CHARLIE_MNEMONIC` is used to derive the following `AccountId`. + /// The `DEFAULT_EVE_MNEMONIC` is used to derive the following `AccountId`. /// Mnemonic: "impact federal dish number fun crisp various wedding radio immense whisper glue" pub static ref EVE: sp_runtime::AccountId32 = super::hex!["ac0d9030598f1722ff7c6a2a3043fa65903448dcc7a23011ec06c1c31cdad120"].into();