Merge remote-tracking branch 'origin/mr/2' into main
This commit is contained in:
commit
bb62dc8eb5
|
@ -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| {
|
||||
|
|
Loading…
Reference in New Issue