mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-20 22:38:34 +00:00
Fix clippy lints
This commit is contained in:
@@ -135,6 +135,7 @@ impl ValidatorSpecification {
|
||||
enabled,
|
||||
gas_limit,
|
||||
builder_proposals,
|
||||
None, // Grafitti field is not maintained between validator moves.
|
||||
)
|
||||
.await
|
||||
.map_err(UploadError::PatchValidatorFailed)?;
|
||||
|
||||
@@ -50,7 +50,7 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
|
||||
/// Run the account manager, returning an error if the operation did not succeed.
|
||||
pub fn run<'a, T: EthSpec>(matches: &'a ArgMatches<'a>, env: Environment<T>) -> Result<(), String> {
|
||||
let context = env.core_context();
|
||||
let spec = context.eth2_config.spec.clone();
|
||||
let spec = context.eth2_config.spec;
|
||||
let dump_config = clap_utils::parse_optional(matches, DUMP_CONFIGS_FLAG)?
|
||||
.map(DumpConfig::Enabled)
|
||||
.unwrap_or_else(|| DumpConfig::Disabled);
|
||||
|
||||
Reference in New Issue
Block a user