Skip to content

Commit

Permalink
change listen_addr default deserialization (#6575)
Browse files Browse the repository at this point in the history
  • Loading branch information
oxarbitrage committed Apr 27, 2023
1 parent d3ce022 commit 0ffd31e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zebra-network/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ impl<'de> Deserialize<'de> for Config {
fn default() -> Self {
let config = Config::default();
Self {
listen_addr: config.listen_addr.to_string(),
listen_addr: "0.0.0.0".to_string(),
network: config.network,
initial_mainnet_peers: config.initial_mainnet_peers,
initial_testnet_peers: config.initial_testnet_peers,
Expand Down

0 comments on commit 0ffd31e

Please sign in to comment.