We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38bd434 commit 99145a3Copy full SHA for 99145a3
cosmwasm/enclaves/execute/src/registration/check_patch_level.rs
@@ -69,7 +69,7 @@ unsafe fn check_patch_level_dcap(pub_k: &[u8; 32]) -> NodeAuthResult {
69
println!("Failed to obtain DCAP attestation: {}", e);
70
}
71
72
- return NodeAuthResult::InvalidCert;
+ NodeAuthResult::InvalidCert
73
74
75
#[cfg(feature = "SGX_MODE_HW")]
@@ -192,5 +192,5 @@ pub unsafe extern "C" fn ecall_check_patch_level(
192
return res1;
193
194
195
- return res2;
+ res2
196
0 commit comments