Skip to content

Commit

Permalink
fix: [ces-types] compile warning
Browse files Browse the repository at this point in the history
  • Loading branch information
0xbillw committed May 10, 2024
1 parent 99864a8 commit 9f01754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ces-types/src/attestation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ fn fixed_measurement_hash(data: &[u8]) -> H256 {
}

#[cfg(not(feature = "full_crypto"))]
fn fixed_measurement_hash(data: &[u8]) -> H256 {
fn fixed_measurement_hash(_data: &[u8]) -> H256 {
log::error!("The measurement hash must be in SGX enviroment with \"full_crypto\" feature, now return zero");
H256::default()
}
Expand Down

0 comments on commit 9f01754

Please sign in to comment.