Skip to content

Commit

Permalink
fix: bug in request-vc-direct (#2436)
Browse files Browse the repository at this point in the history
Co-authored-by: Kasper Ziemianek <kasper.ziemianek@gmail.com>
  • Loading branch information
felixfaisal and kziemianek committed Jan 29, 2024
1 parent 7e9b430 commit 9e293d7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tee-worker/enclave-runtime/src/initialization/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,11 +224,6 @@ pub(crate) fn init_enclave(
run_stf_task_handler().unwrap();
});

std::thread::spawn(move || {
#[allow(clippy::unwrap_used)]
run_vc_issuance().unwrap();
});

Ok(())
}

Expand Down Expand Up @@ -372,6 +367,11 @@ pub(crate) fn init_enclave_sidechain_components(
GLOBAL_SIDECHAIN_FAIL_SLOT_ON_DEMAND_COMPONENT.initialize(Arc::new(None));
}

std::thread::spawn(move || {
#[allow(clippy::unwrap_used)]
run_vc_issuance().unwrap();
});

Ok(())
}

Expand Down

0 comments on commit 9e293d7

Please sign in to comment.