From 4984ce141360a32b747d0f2cdd8a2231e770241d Mon Sep 17 00:00:00 2001 From: hu55a1n1 Date: Tue, 27 Feb 2024 12:01:18 -0800 Subject: [PATCH] Default to EpidAttestor --- enclaves/quartz/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/enclaves/quartz/src/main.rs b/enclaves/quartz/src/main.rs index be7eba9..e04df30 100644 --- a/enclaves/quartz/src/main.rs +++ b/enclaves/quartz/src/main.rs @@ -25,7 +25,7 @@ use quartz_cw::state::{Config, LightClientOpts}; use quartz_proto::quartz::core_server::CoreServer; use tonic::transport::Server; -use crate::{attestor::MockAttestor, cli::Cli, server::CoreService}; +use crate::{attestor::EpidAttestor, cli::Cli, server::CoreService}; #[tokio::main(flavor = "current_thread")] async fn main() -> Result<(), Box> { @@ -47,7 +47,7 @@ async fn main() -> Result<(), Box> { ); Server::builder() - .add_service(CoreServer::new(CoreService::new(config, MockAttestor))) + .add_service(CoreServer::new(CoreService::new(config, EpidAttestor))) .serve(args.rpc_addr) .await?;