mirror of
https://github.com/sigp/lighthouse.git
synced 2026-06-30 11:24:31 +00:00
Minor documentation fixes (#1297)
## Issue Addressed N/A ## Proposed Changes - Fix a wrong command in the validator generation example. - Replace occurrences of 'passphrase' with 'password'. This is mostly because I felt that there was a lot of mixing of the two phrases in the documentation and the actual commands which is a bit confusing. Picked 'password' everywhere because it felt more appropriate but I don't mind changing it to 'passphrase' as long it's consistent everywhere.
This commit is contained in:
@@ -102,7 +102,7 @@ fn create_wallet<P: AsRef<Path>>(
|
||||
.arg(CREATE_CMD)
|
||||
.arg(format!("--{}", NAME_FLAG))
|
||||
.arg(&name)
|
||||
.arg(format!("--{}", PASSPHRASE_FLAG))
|
||||
.arg(format!("--{}", PASSWORD_FLAG))
|
||||
.arg(password.as_ref().as_os_str())
|
||||
.arg(format!("--{}", MNEMONIC_FLAG))
|
||||
.arg(mnemonic.as_ref().as_os_str()),
|
||||
@@ -238,7 +238,7 @@ impl TestValidator {
|
||||
.arg(CREATE_CMD)
|
||||
.arg(format!("--{}", WALLET_NAME_FLAG))
|
||||
.arg(&self.wallet.name)
|
||||
.arg(format!("--{}", WALLET_PASSPHRASE_FLAG))
|
||||
.arg(format!("--{}", WALLET_PASSWORD_FLAG))
|
||||
.arg(self.wallet.password_path().into_os_string())
|
||||
.arg(format!("--{}", VALIDATOR_DIR_FLAG))
|
||||
.arg(self.validator_dir.clone().into_os_string())
|
||||
|
||||
Reference in New Issue
Block a user