Fix an actual off-by-one error!

This was in deciding when to report a circuit as completed.
This commit is contained in:
Nick Mathewson 2021-07-19 13:49:55 -04:00
parent 37fe255fda
commit 6bf1f9723a
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}