Skip to content

Commit

Permalink
refactor: use println! instead of info! (#2831)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfaisal authored Jun 22, 2024
1 parent 154efd9 commit 8d94f50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tee-worker/service/src/main_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ pub(crate) fn main() {
} else if matches.is_present("signing-key") {
setup::generate_signing_key_file(enclave.as_ref());
let tee_accountid = enclave_account(enclave.as_ref());
info!("Enclave signing account: {:}", &tee_accountid.to_ss58check());
println!("Enclave signing account: {:}", &tee_accountid.to_ss58check());
} else if matches.is_present("dump-ra") {
info!("*** Perform RA and dump cert to disk");
#[cfg(not(feature = "dcap"))]
Expand All @@ -252,7 +252,7 @@ pub(crate) fn main() {
enclave.dump_dcap_ra_cert_to_disk().unwrap();
}
} else if matches.is_present("mrenclave") {
info!("{}", enclave.get_fingerprint().unwrap().encode().to_base58());
println!("{}", enclave.get_fingerprint().unwrap().encode().to_base58());
} else if let Some(sub_matches) = matches.subcommand_matches("init-shard") {
setup::init_shard(
enclave.as_ref(),
Expand Down

0 comments on commit 8d94f50

Please sign in to comment.