Skip to content

Commit 99145a3

Browse files
author
valdok
committed
build fix (2)
1 parent 38bd434 commit 99145a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cosmwasm/enclaves/execute/src/registration/check_patch_level.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ unsafe fn check_patch_level_dcap(pub_k: &[u8; 32]) -> NodeAuthResult {
6969
println!("Failed to obtain DCAP attestation: {}", e);
7070
}
7171
}
72-
return NodeAuthResult::InvalidCert;
72+
NodeAuthResult::InvalidCert
7373
}
7474

7575
#[cfg(feature = "SGX_MODE_HW")]
@@ -192,5 +192,5 @@ pub unsafe extern "C" fn ecall_check_patch_level(
192192
return res1;
193193
}
194194

195-
return res2;
195+
res2
196196
}

0 commit comments

Comments
 (0)