slightly adapted impossible error for validator_client (lighthouse-252)
This commit is contained in:
parent
f0ea691208
commit
ed7a081008
@ -78,7 +78,10 @@ fn main() {
|
|||||||
"foundation" => config.spec = ChainSpec::foundation(),
|
"foundation" => config.spec = ChainSpec::foundation(),
|
||||||
"few_validators" => config.spec = ChainSpec::few_validators(),
|
"few_validators" => config.spec = ChainSpec::few_validators(),
|
||||||
// Should be impossible
|
// Should be impossible
|
||||||
_ => error!(log, "Invalid spec defined"; "spec" => format!("{:?}", config.spec)),
|
_ => {
|
||||||
|
error!(log, "Invalid ChainSpec defined"; "spec" => spec_str);
|
||||||
|
return;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user