Fix incorrect error message in ClientBuilder (#888)
* Fix incorrect error message in ClientBuilder * Run cargo fmt --all
This commit is contained in:
parent
ca0314ee55
commit
12d9b42188
@ -133,7 +133,9 @@ where
|
||||
"beacon_chain_start_method requires a store migrator".to_string()
|
||||
})?;
|
||||
let context = runtime_context
|
||||
.ok_or_else(|| "beacon_chain_start_method requires a log".to_string())?
|
||||
.ok_or_else(|| {
|
||||
"beacon_chain_start_method requires a runtime context".to_string()
|
||||
})?
|
||||
.service_context("beacon".into());
|
||||
let spec = chain_spec
|
||||
.ok_or_else(|| "beacon_chain_start_method requires a chain spec".to_string())?;
|
||||
|
Loading…
Reference in New Issue
Block a user