mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-16 19:32:55 +00:00
everything, everywhere, all at once
This commit is contained in:
@@ -874,14 +874,10 @@ where
|
||||
.ok_or("beacon_chain requires a slot clock")?,
|
||||
)
|
||||
.shutdown_sender(context.executor.shutdown_sender())
|
||||
.block_importer_sender(tx)
|
||||
.build()
|
||||
.map_err(|e| format!("Failed to build beacon chain: {}", e))?;
|
||||
|
||||
let arc_chain = Arc::new(chain);
|
||||
arc_chain.start_block_importer(rx);
|
||||
|
||||
self.beacon_chain = Some(arc_chain);
|
||||
self.beacon_chain = Some(Arc::new(chain));
|
||||
self.beacon_chain_builder = None;
|
||||
|
||||
// a beacon chain requires a timer
|
||||
|
||||
Reference in New Issue
Block a user