mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 05:14:35 +00:00
Start heavy refactor of validator client
- Block production is working
This commit is contained in:
@@ -121,8 +121,9 @@ impl<E: EthSpec> LocalValidatorClient<E> {
|
||||
fn new(context: RuntimeContext<E>, mut config: ValidatorConfig, datadir: TempDir) -> Self {
|
||||
config.data_dir = datadir.path().into();
|
||||
|
||||
let client =
|
||||
ProductionValidatorClient::new(context, config).expect("should start validator client");
|
||||
let client = ProductionValidatorClient::new(context, config)
|
||||
.wait()
|
||||
.expect("should start validator client");
|
||||
|
||||
client
|
||||
.start_service()
|
||||
|
||||
Reference in New Issue
Block a user