Node: fix misplaced logging message
This commit is contained in:
parent
762e36abab
commit
9ae9f3f4b7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user