Apply breaking changes of new libp2p versions (#3877)

* Apply breaking changes of new libp2p versions

* Oops, forgot to update version

* Fix tests

* Fix imports with WASM

* Fix WASM for real

* Update core/network/src/debug_info.rs

Co-Authored-By: Roman Borschel <romanb@users.noreply.github.com>

* Fix compilation
This commit is contained in:
Pierre KriegerandRoman Borschel authored and Bastian Köcher committed 2019-11-06 14:00:12 +01:00
1 parent 1aaf31a34d
commit cc09bfbd09
12 files changed
+225 -340

No files matched your search

+1 -1
View File
@@ -109,7 +109,7 @@ impl TelemetryWorker {
let transport = transport
.map((|inner, _| Compat01As03Sink::new(inner)) as fn(_, _) -> _)
.with_timeout(CONNECT_TIMEOUT);
.timeout(CONNECT_TIMEOUT);
TelemetryWorker {
nodes: endpoints.into_iter().map(|(addr, verbosity)| {