aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/circuitbuild.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 10bd72c24..32eb87892 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -1494,8 +1494,7 @@ choose_good_entry_server(uint8_t purpose, cpath_build_state_t *state)
smartlist_t *excluded = smartlist_create();
or_options_t *options = get_options();
- if (state && options->UseEntryNodes &&
- purpose != CIRCUIT_PURPOSE_TESTING) {
+ if (state && options->UseEntryNodes) {
return choose_random_entry(state);
}