Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion service/src/teeracle/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ pub(crate) fn start_interval_market_update<E: TeeracleApi>(
) {
let updates_to_run = || {
execute_market_update(api, enclave_api, tokio_handle);
execute_weather_update(api, enclave_api, tokio_handle);
// TODO: Refactor and add this back according to ISSUE: https://github.com/integritee-network/worker/issues/1300
// execute_weather_update(api, enclave_api, tokio_handle);
};
info!("Teeracle will update now");
updates_to_run();
Expand All @@ -51,6 +52,7 @@ pub(crate) fn start_interval_market_update<E: TeeracleApi>(
schedule_on_repeating_intervals(updates_to_run, interval);
}

#[allow(dead_code)]
fn execute_weather_update<E: TeeracleApi>(
node_api: &ParentchainApi,
enclave: &E,
Expand Down