mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-27 01:33:33 +00:00
Validator dir creation (#1746)
## Issue Addressed Resolves #1744 ## Proposed Changes - Add `directory::ensure_dir_exists` to the `ValidatorDefinition::open_or_create` method - As @pawanjay176 suggested, making the `--validator-dir` non-global so users are forced to include the flag after the `validator` subcommand. Current behavior seems to be ignoring the flag if it comes after something like `validator import` ## Additional Info N/A
This commit is contained in:
1
Cargo.lock
generated
1
Cargo.lock
generated
@@ -38,6 +38,7 @@ dependencies = [
|
||||
name = "account_utils"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"directory",
|
||||
"eth2_keystore",
|
||||
"eth2_wallet",
|
||||
"rand 0.7.3",
|
||||
|
||||
Reference in New Issue
Block a user