From bb166a25992535460aecdec2fe94403b1521254a Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Wed, 14 Aug 2019 18:58:01 +1000 Subject: [PATCH] Fix rustc warnings --- beacon_node/eth2-libp2p/src/behaviour.rs | 1 - beacon_node/eth2-libp2p/src/service.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/beacon_node/eth2-libp2p/src/behaviour.rs b/beacon_node/eth2-libp2p/src/behaviour.rs index 24aacbfa1..9158fe485 100644 --- a/beacon_node/eth2-libp2p/src/behaviour.rs +++ b/beacon_node/eth2-libp2p/src/behaviour.rs @@ -7,7 +7,6 @@ use futures::prelude::*; use libp2p::{ core::identity::Keypair, discv5::Discv5Event, - enr::Enr, gossipsub::{Gossipsub, GossipsubEvent}, identify::{Identify, IdentifyEvent}, ping::{Ping, PingConfig, PingEvent}, diff --git a/beacon_node/eth2-libp2p/src/service.rs b/beacon_node/eth2-libp2p/src/service.rs index 4c343fa26..316aa0579 100644 --- a/beacon_node/eth2-libp2p/src/service.rs +++ b/beacon_node/eth2-libp2p/src/service.rs @@ -15,7 +15,7 @@ use libp2p::core::{ transport::boxed::Boxed, upgrade::{InboundUpgradeExt, OutboundUpgradeExt}, }; -use libp2p::{core, enr::Enr, secio, PeerId, Swarm, Transport}; +use libp2p::{core, secio, PeerId, Swarm, Transport}; use slog::{debug, info, trace, warn}; use std::fs::File; use std::io::prelude::*;