Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
kvinwang committed Feb 18, 2024
1 parent fe36885 commit 64abe7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/phactory/src/contracts/pink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,8 @@ pub(crate) mod context {
}

fn worker_sgx_quote(&self) -> Option<SgxQuote> {
if self.attestation_provider.is_none() {
use AttestationProvider::*;
let Some(Ias | Dcap) = self.attestation_provider else {
return None;
};
sgx_attestation::gramine::create_quote(&self.worker_pubkey())
Expand Down

0 comments on commit 64abe7e

Please sign in to comment.