From 702abf46cf4937f130d0d257815a9efdf8c05d25 Mon Sep 17 00:00:00 2001 From: PolyMa <151764357+polymaer@users.noreply.github.com> Date: Fri, 31 May 2024 09:42:30 +0800 Subject: [PATCH] remove duplicated words (#13439) --- crates/aptos/src/genesis/mod.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/crates/aptos/src/genesis/mod.rs b/crates/aptos/src/genesis/mod.rs index f4f0fddd7c46e..7dabbc9c609e5 100644 --- a/crates/aptos/src/genesis/mod.rs +++ b/crates/aptos/src/genesis/mod.rs @@ -637,19 +637,19 @@ fn validate_validators( if !initialized_accounts.contains_key(&validator.owner_account_address.into()) { errors.push(CliError::UnexpectedError(format!( - "Owner {} in validator {} is is not in the balances.yaml file", + "Owner {} in validator {} is not in the balances.yaml file", validator.owner_account_address, name ))); } if !initialized_accounts.contains_key(&validator.operator_account_address.into()) { errors.push(CliError::UnexpectedError(format!( - "Operator {} in validator {} is is not in the balances.yaml file", + "Operator {} in validator {} is not in the balances.yaml file", validator.operator_account_address, name ))); } if !initialized_accounts.contains_key(&validator.voter_account_address.into()) { errors.push(CliError::UnexpectedError(format!( - "Voter {} in validator {} is is not in the balances.yaml file", + "Voter {} in validator {} is not in the balances.yaml file", validator.voter_account_address, name ))); } @@ -905,25 +905,25 @@ fn validate_employee_accounts( if !initialized_accounts.contains_key(&pool.validator.validator.owner_address) { return Err(CliError::UnexpectedError(format!( - "Owner address {} in employee pool #{} is is not in the balances.yaml file", + "Owner address {} in employee pool #{} is not in the balances.yaml file", pool.validator.validator.owner_address, i ))); } if !initialized_accounts.contains_key(&pool.validator.validator.operator_address) { return Err(CliError::UnexpectedError(format!( - "Operator address {} in employee pool #{} is is not in the balances.yaml file", + "Operator address {} in employee pool #{} is not in the balances.yaml file", pool.validator.validator.operator_address, i ))); } if !initialized_accounts.contains_key(&pool.validator.validator.voter_address) { return Err(CliError::UnexpectedError(format!( - "Voter address {} in employee pool #{} is is not in the balances.yaml file", + "Voter address {} in employee pool #{} is not in the balances.yaml file", pool.validator.validator.voter_address, i ))); } if !initialized_accounts.contains_key(&pool.beneficiary_resetter) { return Err(CliError::UnexpectedError(format!( - "Beneficiary resetter {} in employee pool #{} is is not in the balances.yaml file", + "Beneficiary resetter {} in employee pool #{} is not in the balances.yaml file", pool.beneficiary_resetter, i ))); }