Skip to content

Commit

Permalink
Update error for missing fee recip
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhauner committed Jul 13, 2023
1 parent c3fe9d7 commit b11ce55
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions validator_client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,12 @@ impl<T: EthSpec> ProductionValidatorClient<T> {
let new_validators = validator_defs
.discover_local_keystores(&config.validator_dir, &config.secrets_dir, &log)
.map_err(|e| format!("Unable to discover local validator keystores: {:?}", e))?;
validator_defs
.save(&config.validator_dir)
.map_err(|e| format!("Unable to update validator definitions: {:?}", e))?;
validator_defs.save(&config.validator_dir).map_err(|e| {
format!(
"Provide --suggested-fee-recipient or update validator definitions: {:?}",
e
)
})?;
info!(
log,
"Completed validator discovery";
Expand Down

0 comments on commit b11ce55

Please sign in to comment.