Change hardcoded -> hard_coded

This commit is contained in:
Paul Hauner
2019-12-02 12:56:31 +11:00
parent e0cb5fb170
commit a0af4e6bb4
3 changed files with 6 additions and 6 deletions

View File

@@ -199,8 +199,8 @@ fn run_new_validator_subcommand<T: EthSpec>(
Eth2TestnetConfig::load(testnet_dir.clone())
.map_err(|e| format!("Failed to load testnet dir at {:?}: {}", testnet_dir, e))?
} else {
Eth2TestnetConfig::hardcoded()
.map_err(|e| format!("Failed to load hardcoded testnet dir: {}", e))?
Eth2TestnetConfig::hard_coded()
.map_err(|e| format!("Failed to load hard_coded testnet dir: {}", e))?
};
// Convert from `types::Address` to `web3::types::Address`.