Merge remote-tracking branch 'origin/mr/2' into main

This commit is contained in:
Nick Mathewson 2020-12-07 08:39:39 -05:00
commit bb62dc8eb5
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ impl ExitPathBuilder {
let middle = netdir
.pick_relay(rng, WeightRole::Middle, |r| !r.same_relay(&exit))
.ok_or_else(|| Error::NoRelays("No exit relay found".into()))?;
.ok_or_else(|| Error::NoRelays("No middle relay found".into()))?;
let entry = netdir
.pick_relay(rng, WeightRole::Guard, |r| {