Remove the error when stopping the network (#8671)

This commit is contained in:
Pierre Krieger
2018-05-22 06:35:13 +02:00
committed by Marek Kotewicz
parent ee41fa6f30
commit fe5f5b28d9
5 changed files with 14 additions and 16 deletions

View File

@@ -112,7 +112,7 @@ fn net_start_stop() {
let config = NetworkConfiguration::new_local();
let service = NetworkService::new(config, None).unwrap();
service.start().unwrap();
service.stop().unwrap();
service.stop();
service.start().unwrap();
}