mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-18 21:38:31 +00:00
Revert "Add password migrate command"
This reverts commit 36477a004f2c8afac4c0b8e8fa8c4473dc74175b.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user