tor-hsclient: Pass handshake_state to complete_handcshake (fmt)

This commit is contained in:
Ian Jackson 2023-06-13 13:22:57 +01:00
parent 6810881f38
commit b1ac10203a
1 changed files with 4 additions and 1 deletions

View File

@ -635,7 +635,10 @@ impl<'c, R: Runtime, M: MocksForConnect<R>> Context<'c, R, M> {
let rend_pt = rend_pt_identity_for_error(&rendezvous.rend_relay);
let circ = self
.runtime
.timeout(RPT_IPT_TIMEOUT, self.complete_rendezvous(ipt, rendezvous, introduced))
.timeout(
RPT_IPT_TIMEOUT,
self.complete_rendezvous(ipt, rendezvous, introduced),
)
.await
.map_err(|_: TimeoutError| FAE::RendezvousCompletionTimeout {
intro_index,