Merge pull request #1537 from ethcore/public-address

Fixed public address config
This commit is contained in:
Robert Habermeier 2016-07-04 22:37:37 +02:00 committed by GitHub
commit d1e6e3d642

View File

@ -254,7 +254,7 @@ impl Configuration {
let host = IpAddr::from_str(host).unwrap_or_else(|_| die!("Invalid host given with `--nat extip:{}`", host));
Some(SocketAddr::new(host, port))
} else {
listen_address
None
};
(listen_address, public_address)
}