Skip to content

Commit

Permalink
Don't create 'groups' in mod or use declarations.
Browse files Browse the repository at this point in the history
  • Loading branch information
awygle committed Dec 16, 2022
1 parent 1d42c76 commit e918a66
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
12 changes: 5 additions & 7 deletions fog/ledger/server/src/key_image_router_service.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
// Copyright (c) 2018-2022 The MobileCoin Foundation

use std::{
collections::HashMap,
sync::{Arc, RwLock},
};

use crate::router_handlers;
use futures::{FutureExt, TryFutureExt};
use grpcio::{DuplexSink, RequestStream, RpcContext};
use mc_common::logger::{log, Logger};
Expand All @@ -16,8 +12,10 @@ use mc_fog_ledger_enclave::LedgerEnclaveProxy;
use mc_fog_uri::KeyImageStoreUri;
use mc_util_grpc::rpc_logger;
use mc_util_metrics::SVC_COUNTERS;

use crate::router_handlers;
use std::{
collections::HashMap,
sync::{Arc, RwLock},
};

#[derive(Clone)]
pub struct KeyImageRouterService<E>
Expand Down
5 changes: 2 additions & 3 deletions fog/ledger/server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@ mod config;
mod counters;
mod db_fetcher;
mod error;
mod key_image_router_service;
mod key_image_service;
mod merkle_proof_service;
mod router_handlers;
mod server;
mod untrusted_tx_out_service;

mod key_image_router_service;
mod router_handlers;

pub use block_service::BlockService;
pub use config::LedgerServerConfig;
pub use key_image_service::KeyImageService;
Expand Down
1 change: 0 additions & 1 deletion fog/ledger/server/src/router_handlers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ where
Ok(response)
}

#[allow(unused_variables)]
/// Handles a client's query request.
async fn handle_query_request<E>(
query: attest::Message,
Expand Down

0 comments on commit e918a66

Please sign in to comment.