mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-17 12:58:31 +00:00
Further updates
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<()>) {
|
||||
tokio::spawn(async move { self.core.auto_update(exit).await });
|
||||
fn start(&self, exit: tokio::sync::oneshot::Receiver<()>) {
|
||||
tokio::spawn(HttpService::auto_update(self.core.clone(), exit));
|
||||
}
|
||||
|
||||
/// Instantiates `self` from an existing service.
|
||||
|
||||
Reference in New Issue
Block a user