diff --git a/ot/mpz-ot/src/kos/sender.rs b/ot/mpz-ot/src/kos/sender.rs index 72b83386..863dc72a 100644 --- a/ot/mpz-ot/src/kos/sender.rs +++ b/ot/mpz-ot/src/kos/sender.rs @@ -289,13 +289,13 @@ where Block::random(&mut thread_rng()) }; - self.state = State::Initialized(sender); - // Set up base OT if not already done self.base .setup(&mut into_base_sink(sink), &mut into_base_stream(stream)) .await?; + self.state = State::Initialized(sender); + self._setup_with_delta(sink, stream, delta) .await .map_err(OTError::from)