Allow passing an optional transport to network-libp2p (#2680)

* Allow passing an optional transport

* Fix tests

* Fix Cargo.lock

* Fix Cargo.lock again?!?!
This commit is contained in:
Pierre Krieger
2019-05-28 12:54:02 +02:00
committed by GitHub
parent 22d3043917
commit 25b88f1a1f
5 changed files with 43 additions and 18 deletions
+1
View File
@@ -99,6 +99,7 @@ fn node_config<F: ServiceFactory> (
client_version: "network/test/0.1".to_owned(),
node_name: "unknown".to_owned(),
enable_mdns: false,
wasm_external_transport: None,
};
Configuration {