diff --git a/tor-circmgr/src/build.rs b/tor-circmgr/src/build.rs index b5caf8c60..59a33ba2e 100644 --- a/tor-circmgr/src/build.rs +++ b/tor-circmgr/src/build.rs @@ -191,7 +191,7 @@ impl< self.timeouts.note_hop_completed( hop_num, self.runtime.now() - start_time, - hop_num == n_hops, + hop_num == (n_hops - 1), ); hop_num += 1; }