Revert "Add password migrate command"

This reverts commit 36477a004f2c8afac4c0b8e8fa8c4473dc74175b.
This commit is contained in:
Paul Hauner
2022-09-05 11:36:08 +10:00
parent 2abb4a7703
commit c60b9c6ace
3 changed files with 3 additions and 45 deletions

View File

@@ -162,11 +162,6 @@ impl<T: EthSpec> ProductionValidatorClient<T> {
let mut validator_defs = ValidatorDefinitions::open_or_create(&config.validator_dir)
.map_err(|e| format!("Unable to open or create validator definitions: {:?}", e))?;
// TODO(paul): remove this
validator_defs
.migrate_passwords_to_secrets_dir(&config.validator_dir, &config.secrets_dir)
.map_err(|e| format!("Unable to migrate passwords: {:?}", e))?;
if !config.disable_auto_discover {
let new_validators = validator_defs
.discover_local_keystores(&config.validator_dir, &config.secrets_dir, &log)