make --port 30334 work again (#1620)

This commit is contained in:
Svyatoslav Nikolsky
2019-01-30 16:46:39 +03:00
committed by Gav Wood
parent a4756710c5
commit 2037c52fbe
+1 -5
View File
@@ -70,11 +70,7 @@ impl NetworkConfiguration {
NetworkConfiguration {
config_path: None,
net_config_path: None,
listen_addresses: vec![
iter::once(Protocol::Ip4(Ipv4Addr::new(0, 0, 0, 0)))
.chain(iter::once(Protocol::Tcp(30333)))
.collect()
],
listen_addresses: Vec::new(),
public_addresses: Vec::new(),
boot_nodes: Vec::new(),
use_secret: None,