From a4e6b5d61abb7c76ae9f39a43a945b6b7119e58a Mon Sep 17 00:00:00 2001 From: Christian Langenbacher Date: Fri, 22 Nov 2024 15:59:28 +0100 Subject: [PATCH] fix attesteer build --- service/src/main_impl.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/service/src/main_impl.rs b/service/src/main_impl.rs index 4a6c7186a..36cf8f054 100644 --- a/service/src/main_impl.rs +++ b/service/src/main_impl.rs @@ -1013,7 +1013,7 @@ fn spawn_worker_for_shard_polling( #[cfg(feature = "attesteer")] fn fetch_marblerun_events_every_hour( - api: ParentchainApi, + api: IntegriteeApi, enclave: Arc, accountid: AccountId32, is_development_mode: bool, @@ -1044,7 +1044,7 @@ fn fetch_marblerun_events_every_hour( } #[cfg(feature = "attesteer")] fn register_quotes_from_marblerun( - api: &ParentchainApi, + api: &IntegriteeApi, enclave: Arc, accountid: &AccountId32, is_development_mode: bool, @@ -1052,7 +1052,7 @@ fn register_quotes_from_marblerun( marblerun_base_url: &str, ) { let enclave = enclave.as_ref(); - let events = prometheus_metrics::fetch_marblerun_events(marblerun_base_url) + let events = crate::prometheus_metrics::fetch_marblerun_events(marblerun_base_url) .map_err(|e| { info!("Fetching events from Marblerun failed with: {:?}, continuing with 0 events.", e); })