Remove the NetworkChan (#2577)

* Remove the NetworkChan from the API

* Remove the NetworkChan altogether

* Address review

* Fix line widths

* More line width fixes

* Remove pub visibility from entire world

* Fix tests
This commit is contained in:
Pierre Krieger authored and GitHub committed 2019-05-21 14:07:01 +02:00
1 parent e296cf8cba
commit 062b734571
8 files changed
+361 -298

No files matched your search

+4
View File
@@ -973,6 +973,10 @@ mod tests {
})
}
fn uses_tokio(&self) -> bool {
true
}
fn peer(&self, i: usize) -> &Peer<Self::PeerData, DummySpecialization> {
trace!(target: "babe", "Retreiving a peer");
&self.peers[i]