tor icon indicating copy to clipboard operation
tor copied to clipboard

#32165: use args to count_usable_descriptors() correctly [0.4.2]

Open armadev opened this issue 5 years ago • 1 comments

When starting up without cached microdescriptors, stop mistakenly printing out "The current consensus has no exit nodes. Tor can only build internal paths, such as paths to onion services."

We were mixing up "present", i.e. listed in the descriptor, with "usable", i.e. able to be used by us right now. (Yes they are terrible names; we should fix that in a future commit.)

Fixes bug 32165; bugfix on 0.2.6.2-alpha.

armadev avatar Oct 22 '19 01:10 armadev

Pull Request Test Coverage Report for Build 6775

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • 3 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.003%) to 63.378%

Files with Coverage Reduction New Missed Lines %
src/feature/nodelist/nodelist.c 3 71.76%
<!-- Total: 3
Totals Coverage Status
Change from base Build 6769: -0.003%
Covered Lines: 48009
Relevant Lines: 75750

💛 - Coveralls

coveralls avatar Oct 22 '19 09:10 coveralls