Export IfDisconnected in public module. (#8034)

This commit is contained in:
Robert Klotzner
2021-02-03 09:39:39 +01:00
committed by GitHub
parent 11b00681d2
commit 0ec82c3484
+1 -1
View File
@@ -270,7 +270,7 @@ pub use libp2p::{multiaddr, Multiaddr, PeerId};
pub use protocol::{event::{DhtEvent, Event, ObservedRole}, sync::SyncState, PeerInfo};
pub use service::{
NetworkService, NetworkWorker, RequestFailure, OutboundFailure, NotificationSender,
NotificationSenderReady,
NotificationSenderReady, IfDisconnected,
};
pub use sc_peerset::ReputationChange;