Commit 53cd1c97 authored by George Kadianakis's avatar George Kadianakis
Browse files

Avoid guard-related warning when upgrading from 043 to 044.

Fixes #40105.
parent 1397a86b
Loading
Loading
Loading
Loading

changes/bug40105

0 → 100644
+3 −0
Original line number Diff line number Diff line
  o Minor bugfixes (guard selection algorithm):
    - Avoid needless guard-related warning when upgrading from 0.4.3 to 0.4.4.
      Fixes bug 40105; bugfix on 0.4.4.1-alpha.
 No newline at end of file
+3 −3
Original line number Diff line number Diff line
@@ -3139,7 +3139,7 @@ entry_guard_parse_from_state(const char *s)

    guard->sampled_idx = guard->confirmed_idx;
  } else {
    log_warn(LD_GUARD, "The state file seems to be into a status that could"
    log_info(LD_GUARD, "The state file seems to be into a status that could"
             " yield to weird entry node selection: we're missing both a"
             " sampled_idx and a confirmed_idx.");
    guard->sampled_idx = invalid_sampled_idx++;