From 9ae9f3f4b733d3b7db1726d0ec75ba7e9e67c9e2 Mon Sep 17 00:00:00 2001 From: Benjamin Canou Date: Fri, 11 Aug 2017 15:24:38 +0200 Subject: [PATCH] Node: fix misplaced logging message --- src/node/main/node_shared_arg.ml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/node/main/node_shared_arg.ml b/src/node/main/node_shared_arg.ml index 1090ab031..966f36d79 100644 --- a/src/node/main/node_shared_arg.ml +++ b/src/node/main/node_shared_arg.ml @@ -262,11 +262,11 @@ let read_and_patch_config_file ?(ignore_bootstrap_peers=false) args = log_output } = args in let bootstrap_peers = if no_bootstrap_peers || ignore_bootstrap_peers - then peers - else begin - log_info "Ignoring bootstrap peers"; - cfg.net.bootstrap_peers @ peers - end in + then begin + log_info "Ignoring bootstrap peers" ; + peers + end else + cfg.net.bootstrap_peers @ peers in return @@ Node_config_file.update ?data_dir ?min_connections ?expected_connections ?max_connections