Skip to content

Commit

Permalink
warning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad committed Jan 30, 2025
1 parent a0c7771 commit 4b54c86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cosmwasm/enclaves/execute/src/registration/attestation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ pub fn verify_quote_sgx(
vec_coll: &[u8],
time_s: i64,
) -> Result<(sgx_report_body_t, sgx_ql_qv_result_t), sgx_status_t> {
let qv_result = verify_quote_any(&vec_quote, &vec_coll, time_s)?;
let qv_result = verify_quote_any(vec_quote, vec_coll, time_s)?;

if vec_quote.len() < mem::size_of::<sgx_quote_t>() {
trace!("Quote too small");
Expand Down
2 changes: 1 addition & 1 deletion x/compute/internal/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func (k Keeper) SetValidatorSetEvidence(ctx sdk.Context) error {
store := k.storeService.OpenKVStore(ctx)
validator_set_evidence, err := store.Get(types.ValidatorSetEvidencePrefix)
if err == nil {
err = api.SubmitValidatorSetEvidence(validator_set_evidence)
_ = api.SubmitValidatorSetEvidence(validator_set_evidence)
}
return nil
}
Expand Down

0 comments on commit 4b54c86

Please sign in to comment.