mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 16:55:46 +00:00
Fix incorrect error message in ClientBuilder (#888)
* Fix incorrect error message in ClientBuilder * Run cargo fmt --all
This commit is contained in:
@@ -133,7 +133,9 @@ where
|
|||||||
"beacon_chain_start_method requires a store migrator".to_string()
|
"beacon_chain_start_method requires a store migrator".to_string()
|
||||||
})?;
|
})?;
|
||||||
let context = runtime_context
|
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());
|
.service_context("beacon".into());
|
||||||
let spec = chain_spec
|
let spec = chain_spec
|
||||||
.ok_or_else(|| "beacon_chain_start_method requires a chain spec".to_string())?;
|
.ok_or_else(|| "beacon_chain_start_method requires a chain spec".to_string())?;
|
||||||
|
|||||||
Reference in New Issue
Block a user