Removed unused imports

This commit is contained in:
Jedrzej Stuczynski
2020-02-05 16:52:17 +00:00
parent 1fa599dd63
commit 800c41ce97
17 changed files with 19 additions and 62 deletions
-2
View File
@@ -9,8 +9,6 @@ use std::collections::HashMap;
use std::sync::Arc;
use std::time::Duration;
const METRICS_INTERVAL: u64 = 3;
#[derive(Debug)]
pub struct MetricsReporter {
received: u64,
-2
View File
@@ -1,7 +1,6 @@
use crate::config::persistance::pathfinder::MixNodePathfinder;
use crate::config::Config;
use crate::mix_peer::MixPeer;
use crate::node;
use crate::node::metrics::MetricsReporter;
use crypto::encryption;
use futures::channel::mpsc;
@@ -11,7 +10,6 @@ use log::*;
use pemstore::pemstore::PemStore;
use sphinx::header::delays::Delay as SphinxDelay;
use sphinx::{ProcessedPacket, SphinxPacket};
use std::net::SocketAddr;
use std::sync::Arc;
use std::time::Duration;
use tokio::prelude::*;