The NodeId is always available in the session info (#859)

This commit is contained in:
Pierre Krieger
2018-10-01 19:31:07 +02:00
committed by Gav Wood
parent a21b2bfbb8
commit d14700f7b6
7 changed files with 10 additions and 18 deletions
+1 -4
View File
@@ -34,7 +34,6 @@ extern crate rand;
#[macro_use]
extern crate serde_derive;
extern crate serde_json;
extern crate substrate_primitives as primitives;
extern crate bytes;
extern crate unsigned_varint;
@@ -45,11 +44,9 @@ extern crate log;
#[cfg(test)] #[macro_use]
extern crate assert_matches;
use libp2p::PeerId;
pub use connection_filter::{ConnectionFilter, ConnectionDirection};
pub use error::{Error, ErrorKind, DisconnectReason};
pub use libp2p::{Multiaddr, multiaddr::Protocol};
pub use libp2p::{Multiaddr, multiaddr::Protocol, PeerId};
pub use traits::*;
pub type TimerToken = usize;