mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-18 04:13:00 +00:00
Builder update
This commit is contained in:
@@ -285,8 +285,8 @@ impl<T: EthSpec, S: Store<T>> CachingEth1Backend<T, S> {
|
||||
}
|
||||
|
||||
/// Starts the routine which connects to the external eth1 node and updates the caches.
|
||||
pub async fn start(&self, exit: tokio::sync::oneshot::Receiver<()>) -> Result<(), ()> {
|
||||
self.core.auto_update(exit).await
|
||||
pub async fn start(&self, exit: tokio::sync::oneshot::Receiver<()>) {
|
||||
tokio::spawn(async move { self.core.auto_update(exit).await });
|
||||
}
|
||||
|
||||
/// Instantiates `self` from an existing service.
|
||||
|
||||
Reference in New Issue
Block a user