Node: fix misplaced logging message

This commit is contained in:
Benjamin Canou 2017-08-11 15:24:38 +02:00
parent 762e36abab
commit 9ae9f3f4b7

View File

@ -262,11 +262,11 @@ let read_and_patch_config_file ?(ignore_bootstrap_peers=false) args =
log_output } = args in log_output } = args in
let bootstrap_peers = let bootstrap_peers =
if no_bootstrap_peers || ignore_bootstrap_peers if no_bootstrap_peers || ignore_bootstrap_peers
then peers then begin
else begin log_info "Ignoring bootstrap peers" ;
log_info "Ignoring bootstrap peers"; peers
cfg.net.bootstrap_peers @ peers end else
end in cfg.net.bootstrap_peers @ peers in
return @@ return @@
Node_config_file.update Node_config_file.update
?data_dir ?min_connections ?expected_connections ?max_connections ?data_dir ?min_connections ?expected_connections ?max_connections