aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/config.rs b/src/util/config.rs
index f1c5c019..0e4c76ae 100644
--- a/src/util/config.rs
+++ b/src/util/config.rs
@@ -39,7 +39,7 @@ pub struct Config {
pub rpc_public_addr: Option<SocketAddr>,
/// Bootstrap peers RPC address
- #[serde(deserialize_with = "deserialize_vec_addr")]
+ #[serde(deserialize_with = "deserialize_vec_addr", default)]
pub bootstrap_peers: Vec<(NodeID, SocketAddr)>,
/// Consul host to connect to to discover more peers
pub consul_host: Option<String>,