Skip to content

Commit

Permalink
service: add proper reasoning to expect() in register_quotes_from_mar…
Browse files Browse the repository at this point in the history
…blerun()
  • Loading branch information
OverOrion committed Feb 22, 2023
1 parent b03d645 commit 4980f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ fn register_quotes_from_marblerun(
for quote in quotes {
let ext = enclave
.generate_dcap_ra_extrinsic_internal_with_quote(url.clone(), &quote)
.expect("you shall pass");
.expect("Extracting information from valid valid quotes should never fail; qed");

This comment has been minimized.

Copy link
@clangenb

clangenb Feb 22, 2023

Contributor

double 'valid' intentional? :D

send_extrinsic(&ext, api, accountid, is_development_mode);
}
}
Expand Down

0 comments on commit 4980f2f

Please sign in to comment.